Home
last modified time | relevance | path

Searched refs:kFuncDeviceAttr (Results 1 – 5 of 5) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dtpu_device_propagation.cc39 constexpr char kFuncDeviceAttr[] = "tf.device"; variable
144 func.getArgAttrOfType<StringAttr>(arg.getArgNumber(), kFuncDeviceAttr); in PropagateDevicesFromArguments()
219 operand.getOperandNumber(), kFuncDeviceAttr); in PropagateDevicesToResults()
221 func.setResultAttr(operand.getOperandNumber(), kFuncDeviceAttr, in PropagateDevicesToResults()
Dresource_device_inference.cc54 constexpr char kFuncDeviceAttr[] = "tf.device"; variable
131 func.getArgAttrOfType<mlir::StringAttr>(arg_no, kFuncDeviceAttr); in GetDeviceAttr()
159 func_op.setArgAttr(arg.getArgNumber(), kFuncDeviceAttr, in ComputeResourceDevicesInComputation()
Dtpu_dynamic_layout_pass.cc53 constexpr char kFuncDeviceAttr[] = "tf.device"; variable
121 kFuncDeviceAttr); in IsSupportedInputOp()
Dtpu_merge_variables_with_execute.cc56 constexpr char kFuncDeviceAttr[] = "tf.device"; variable
168 resource_arg.getArgNumber(), kFuncDeviceAttr); in BuildVariableAccessInfo()
Dtpu_variable_runtime_reformatting.cc61 constexpr char kFuncDeviceAttr[] = "tf.device"; variable