- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for isLegalToInline (0.31 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc
// Analysis Hooks //===--------------------------------------------------------------------===// // Returns if it's legal to inline 'callable' into the 'call', where 'call' is // a TF operation. bool isLegalToInline(Operation *call, Operation *callable, bool wouldBeCloned) const final { // Skip inlining for TPUPartitionedCalls and RemoteCalls. if (isa<TPUPartitionedCallOp>(call)) return false;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc
// Returns whether it's legal to inline a call to a function. bool isLegalToInline(Operation* call, Operation* callable, bool wouldBeCloned) const final { if (isa<ClusterFuncOp>(call)) return false; return true; } // Returns if its legal to inline 'src' region into the 'dest' region // attached to a TF Device operation. bool isLegalToInline(Region* dest, Region* src, bool wouldBeCloned,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
// Allow all call operations to be inlined. bool isLegalToInline(Operation *call, Operation *callable, bool wouldBeCloned) const final { return true; } // Override the inlining hook to determine if 'src' can be inlined into // 'dest'. bool isLegalToInline(Region *dest, Region *src, bool wouldBeCloned, IRMapping &value_mapping) const final {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0)