- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for isLegalToInline (0.27 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/tfr/ir/tfr_ops.cc
public: // Allow all call operations to be inlined. bool isLegalToInline(Operation *call, Operation *callable, bool wouldBeCloned) const final { return true; } // Returns true if the given region 'src' can be inlined into the region // 'dest' that is attached to an operation registered to the current dialect. bool isLegalToInline(Region *dest, Region *src, bool wouldBeCloned,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K 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/tfrt/ir/tfrt_fallback_async.cc
namespace tfrt { namespace fallback_async { namespace { struct FallbackInlinerInterface : public mlir::DialectInlinerInterface { using DialectInlinerInterface::DialectInlinerInterface; bool isLegalToInline(Operation *op, Region *dest, bool would_be_cloned, IRMapping &) const final { return true; } }; } // namespace FallbackAsyncDialect::FallbackAsyncDialect(MLIRContext *context)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 08 01:19:25 UTC 2023 - 15.6K 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)