Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for MlirPassthroughOp (0.38 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/transforms/materialize_mlir_passthrough_op.cc

        : public impl::MaterializePassthroughOpBase<MaterializePassthroughOpPass> {
     public:
      void runOnOperation() override;
    };
    
    void MaterializePassthroughOpPass::runOnOperation() {
      getOperation().walk([](TF::MlirPassthroughOp op) {
        std::string module_string(op.getMlirModule());
        // Parse the module.
        auto nested_module =
            parseSourceString<ModuleOp>(module_string, op.getContext());
        if (!nested_module) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 03 12:35:38 UTC 2022
    - 4.2K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      }];
    
      let arguments = (ins);
    
      let results = (outs
        Res<TF_ResourceTensor, "", [TF_VariableAlloc]>:$resource
      );
    }
    
    def TF_MlirPassthroughOp : TF_Op<"MlirPassthroughOp", [Pure]> {
      let summary = [{
    Wraps an arbitrary MLIR computation expressed as a module with a main() function.
      }];
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top