Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for CreateTensorListOpsDecompositionPass (0.51 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/transforms.cc

      pm.addPass(mlir::createSymbolDCEPass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTFShapeInferencePass());
      pm.addPass(mlir::createCanonicalizerPass());
      pm.addPass(mlir::TF::CreateTensorListOpsDecompositionPass());
      pm.addNestedPass<func::FuncOp>(
          mlir::TFDevice::CreateDecomposeResourceOpsPass());
    
      // FreezeVariables only freezes variables for TF v1 types. Separately handle
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 04:34:23 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      // pass undo some CSE because shape_inference is not correctly able to
      // identify the shapes of TensorList initialization ops.
      // This pass requires CanonicalizerPass before
      // CreateTensorListOpsDecompositionPass for clean-ups.
      if (lower_to_xla_hlo) {
        pm.addNestedPass<mlir::func::FuncOp>(
            mlir::TF::CreateReplicateTensorListInitOpsPass());
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/passes.h

    // Converts tensor list operations into operations on buffers and sizes. Needs
    // static shapes and known max element count.
    std::unique_ptr<OperationPass<ModuleOp>> CreateTensorListOpsDecompositionPass();
    
    // Converts tensor array ops into operations on local variables, which can later
    // be removed by resource lifting. Requires known sizes and known element shapes
    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/tensor_list_ops_decomposition.cc

      if (failed(DecomposeTensorListOps(&main.front(), module))) {
        signalPassFailure();
      }
    }
    
    }  // namespace
    
    namespace TF {
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateTensorListOpsDecompositionPass() {
      return std::make_unique<TensorListOpsDecompositionPass>();
    }
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

      %next_index_in_list = "tf.AddV2"(%index_in_list, %one) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi32>
      return
    }
    ```
      }];
    
      let constructor = "TF::CreateTensorListOpsDecompositionPass()";
    }
    
    def TPUParallelExecuteSinkResourceWritePass : Pass<"tf-tpu-parallel-execute-sink-resource-write", "mlir::func::FuncOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top