- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsCompositeDevice (0.22 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_resource_partitioning.cc
return func.getArgAttrOfType<mlir::StringAttr>( resource_arg.getArgNumber(), kFuncDeviceAttr); } else { return mlir::Attribute{}; } } } bool IsCompositeDevice(mlir::Attribute attr) { const auto str_attr = attr.dyn_cast_or_null<mlir::StringAttr>(); return str_attr && (str_attr.getValue().find("COMPOSITE") != llvm::StringRef::npos); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 11.8K bytes - Viewed (0)