Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isLegalToInline (0.19 sec)

  1. 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)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/mlrt_dialect.cc

    namespace mlrt {
    namespace compiler {
    
    namespace {
    
    struct MlrtInlinerInterface : public mlir::DialectInlinerInterface {
      using DialectInlinerInterface::DialectInlinerInterface;
      bool isLegalToInline(mlir::Operation *op, mlir::Region *dest,
                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All mlrt dialect ops can be inlined.
        return true;
      }
    };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.cc

    namespace tensorflow {
    namespace tf_mlrt {
    
    namespace {
    
    struct TensorflowMlrtInlinerInterface : public mlir::DialectInlinerInterface {
      using DialectInlinerInterface::DialectInlinerInterface;
      bool isLegalToInline(mlir::Operation *op, mlir::Region *dest,
                           bool would_be_cloned,
                           mlir::IRMapping &mapping) const final {
        // All tf_mlrt dialect ops can be inlined.
        return true;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_pipelining.cc

            symbol_table(symbol_table) {}
    
      bool isLegalToInline(Operation* call, Operation* callable,
                           bool wouldBeCloned) const override {
        return true;
      }
      bool isLegalToInline(Region* dest, Region* src, bool wouldBeCloned,
                           IRMapping& valueMapping) const override {
        return true;
      }
      bool isLegalToInline(Operation* op, Region* dest, bool wouldBeCloned,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 92.9K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

      //===--------------------------------------------------------------------===//
    
      // Allow all call operations to be inlined.
      bool isLegalToInline(Operation* call, Operation* callable,
                           bool wouldBeCloned) const final {
        return true;
      }
      bool isLegalToInline(Operation* op, Region* dest, bool wouldBeCloned,
                           IRMapping&) const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top