Searched refs:kDevicesAttr (Results 1 – 2 of 2) sorted by relevance
39 constexpr char kDevicesAttr[] = "tf.devices"; variable76 "bad '{0}' attribute at index {1}, not a string", kDevicesAttr, idx)); in GetDevicesFromOp()83 kDevicesAttr, string_attr.getValue())); in GetDevicesFromOp()104 kDevicesAttr, name.strref())); in GetDevicesFromOp()142 op->setAttr(kDevicesAttr, builder.getDictionaryAttr(devices)); in AddDevicesToOp()147 auto devices_attr = op->getAttr(kDevicesAttr); in GetDevicesFromOp()158 llvm::formatv("unsupported '{0}' attribute", kDevicesAttr)); in GetDevicesFromOp()
71 constexpr char kDevicesAttr[] = "devices"; variable445 replicate->setAttr(kDevicesAttr, builder->getDictionaryAttr(device_attrs)); in AssignDevicesToReplicate()