Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for CreateLegalizeTensorListPass (0.25 sec)

  1. tensorflow/compiler/mlir/lite/transforms/passes.h

    std::unique_ptr<OperationPass<func::FuncOp>> CreatePinOpsWithSideEffectsPass();
    
    // Legalize TensorList Ops iff all of them are supported.
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTensorListPass();
    
    // Reduce the type precision of some tensor types if all values within that
    // tensor are within the range of the reduced precision.
    std::unique_ptr<OperationPass<ModuleOp>> CreateReduceTypePrecisionPass();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 07 21:29:34 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/legalize_tensorlist.cc

        patterns.add<ConvertVariantAddNOp>(&getContext());
        (void)applyPatternsAndFoldGreedily(module, std::move(patterns));
      }
    };
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLegalizeTensorListPass() {
      return std::make_unique<LegalizeTensorListPass>();
    }
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

      }
    
      pass_manager->addPass(mlir::createInlinerPass());
      pass_manager->addPass(mlir::createSymbolDCEPass());
    
      if (pass_config.legalize_custom_tensor_list_ops) {
        pass_manager->addPass(mlir::TFL::CreateLegalizeTensorListPass());
      }
    
      if (pass_config.lower_tensor_list_ops &&
          toco_flags.tf_quantization_mode().empty()) {
        // TODO(haoliang): Add this pass by default.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/transforms/passes.td

    }
    
    def LegalizeTensorListPass : Pass<"tfl-legalize-tensorlist", "mlir::ModuleOp"> {
      let summary = "Legalize TensorFlow tensorlist ops to TensorFlow Lite custom.";
      let constructor = "CreateLegalizeTensorListPass()";
      let dependentDialects = ["TFL::TensorFlowLiteDialect"];
    }
    
    def ReduceTypePrecisionPass : Pass<"tfl-reduce-type-precision", "mlir::ModuleOp"> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top