Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for PassRegistration (0.2 sec)

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

          TFL::CustomOp tfl_custom_op =
              BuildCustomOp(composite, custom_option_buffer);
          composite->replaceAllUsesWith(tfl_custom_op);
          composite->erase();
        });
      }
    };
    
    static PassRegistration<LegalizeCompositeToCustomOpPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    // Creates an instance of the TensorFlow dialect to QuantOps dialect pass.
    std::unique_ptr<OperationPass<func::FuncOp>> CreateLegalizeTFToQuantPass() {
      return std::make_unique<LegalizeTFToQuant>();
    }
    
    static PassRegistration<LegalizeTFToQuant> pass([] {
      return CreateLegalizeTFToQuantPass();
    });
    
    }  // namespace TF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/transforms/tac_filter.cc

      }
    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTacFilterPass(
        TacFilters* tac_filters) {
      return std::make_unique<TacFilterPass>(tac_filters);
    }
    
    static PassRegistration<TacFilterPass> pass;
    
    }  // namespace tac
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/add_quantization_unit_loc.cc

    // Creates an instance of `AddQuantizationUnitLocPass`.
    std::unique_ptr<OperationPass<func::FuncOp>>
    CreateAddQuantizationUnitLocPass() {
      return std::make_unique<AddQuantizationUnitLocPass>();
    }
    
    static PassRegistration<AddQuantizationUnitLocPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc

      }
    }
    
    }  // end namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateTransposeCommuteOpsPass() {
      return std::make_unique<TransposeCommuteOpsPass>();
    }
    
    static PassRegistration<TransposeCommuteOpsPass> pass;
    
    }  // end namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

      for (auto func_op : module_op.getOps<func::FuncOp>()) {
        if (failed(LiftHashTableOpsToArguments(module_op, func_op))) {
          signalPassFailure();
          return;
        }
      }
    }
    
    static PassRegistration<LiftHashTableOpsAsArgsPass> pass;
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateLiftHashTableOpsAsArgsPass() {
      return std::make_unique<LiftHashTableOpsAsArgsPass>();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_quantized_functions.cc

      }
    
      auto it = function_library_map.find(op_set);
      if (it != function_library_map.end()) {
        return it->second;
      }
      return llvm::StringRef();
    }
    
    static PassRegistration<InsertQuantizedFunctionsPass> pass;
    
    void InsertQuantizedFunctionsPass::runOnOperation() {
      ModuleOp module = getOperation();
      SymbolTable symbol_table(module);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/pin_ops_with_side_effects.cc

      }
    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePinOpsWithSideEffectsPass() {
      return std::make_unique<PinOpsWithSideEffectsPass>();
    }
    
    static PassRegistration<PinOpsWithSideEffectsPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc

        LOG(INFO) << "There are no VarHandleOps to save. SaveV2 op will not "
                     "be created.";
        return;
      }
    
      CreateSaveFunc(module_op, target_var_handle_ops);
    }
    
    static PassRegistration<InsertSaveOpPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertSaveOpPass() {
      return std::make_unique<InsertSaveOpPass>();
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/optimize_batch_matmul.cc

    }
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateOptimizeBatchMatmulPass() {
      return std::make_unique<OptimizeBatchMatmulPass>();
    }
    
    static PassRegistration<OptimizeBatchMatmulPass> pass;
    
    }  // namespace TFL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 9.6K bytes
    - Viewed (0)
Back to top