device property

  1. @TagNumber.new(6)
DeviceAffinity get device

Affinity hint: run this operator on CPU, GPU, or Neural Engine. The scheduler may override if the requested device is unavailable.

Implementation

@$pb.TagNumber(6)
DeviceAffinity get device => $_getN(5);
  1. @TagNumber.new(6)
set device (DeviceAffinity value)

Implementation

@$pb.TagNumber(6)
set device(DeviceAffinity value) => $_setField(6, value);