- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for IsSupportedGraph (0.09 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tpu_device_propagation.cc
namespace mlir { namespace TFTPU { namespace { constexpr char kDeviceAttr[] = "device"; constexpr char kFuncDeviceAttr[] = "tf.device"; // Checks if a function only contains a tf_executor.graph. bool IsSupportedGraph(func::FuncOp func) { if (!llvm::hasSingleElement(func)) return false; Block& block = func.front(); if (!llvm::hasSingleElement(block.without_terminator())) return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11K bytes - Viewed (0)