Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for mlir_passthrough_op (0.25 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/mlir_passthrough_op.pbtxt

          type: DT_FLOAT
        }
      }
      attr {
        key: "shape"
        value {
          shape {
            dim {
              size: 10
            }
          }
        }
      }
    }
    node {
      name: "MlirPassthroughOp"
      op: "MlirPassthroughOp"
      input: "x"
      input: "y"
      attr {
        key: "Tinputs"
        value {
          list {
            type: DT_FLOAT
            type: DT_FLOAT
          }
        }
      }
      attr {
        key: "Toutputs"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/BUILD

            "@local_xla//xla/translate/mhlo_to_hlo:type_to_shape",
            "@stablehlo//:stablehlo_ops",
        ],
        alwayslink = 1,
    )
    
    cc_library(
        name = "mlir_passthrough_op",
        srcs = ["ops/mlir_passthrough_op.cc"],
        visibility = [
            "//visibility:public",
        ],
        deps = [
            "//tensorflow/core:framework",
        ],
        alwayslink = 1,
    )
    
    cc_library(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:28:13 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    mlir_module = '''python
    func @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {
       %add = "magic.op"(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>
       return %ret : tensor<10x10xf32>
    }
    '''
    
    @tf.function
    def foo(x, y):
      return mlir_passthrough_op([x, y], mlir_module, Toutputs=[tf.float32])
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Transforms region bases control flow operations in the TensorFlow dialect to
    // their functional counterparts.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTFRegionControlFlowToFunctional();
    
    // Materialize the MlirPassthroughOp by replacing it with the MLIR module
    // attached as an attribute.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateMaterializePassthroughOpPass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          return %2 : tensor<?xi32>
        ```
      }];
    }
    
    def MaterializePassthroughOp : Pass<"tf-materialize-passthrough-op", "mlir::func::FuncOp"> {
      let summary = "Materialize the MlirPassthroughOp by replacing it with the "
        "MLIR module attached as an attribute";
      let constructor = "TF::CreateMaterializePassthroughOpPass()";
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      return %0 : tensor<i32>
    }
    ```
    ### `-tf-materialize-passthrough-op`
    
    _Materialize the MlirPassthroughOp by replacing it with the MLIR module attached as an attribute_
    
    A pass that replaces MlirPassthrough ops with the code they have in
    their `mlir_module` string attribute.
    ### `-tf-merge-control-flow`
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
Back to top