Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 84 for PassRegistration (0.17 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/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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_restore_op.cc

        LOG(INFO) << "There are no VarHandleOps to restore. RestoreV2 op will not "
                     "be created.";
        return;
      }
    
      CreateRestoreV2Op(target_var_handle_ops, session_init_func);
    }
    
    static PassRegistration<InsertRestoreOpPass> pass{};
    
    }  // namespace
    
    std::unique_ptr<OperationPass<ModuleOp>> CreateInsertRestoreOpPass() {
      return std::make_unique<InsertRestoreOpPass>();
    }
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Mar 12 06:02:20 UTC 2023
    - 9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        custom_op.erase();
      });
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() {
      return std::make_unique<TflToStablehloPass>();
    }
    
    static PassRegistration<TflToStablehloPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/quantization/import_quant_stats_pass.cc

          }
        }
        return llvm::StringRef("");
      };
    
      return CreateImportQuantStatsPass(get_name_func, stats_str);
    }
    
    // Registers this pass with default values, only for test
    static PassRegistration<ImportQuantStatsPass> pass([] {
      return CreateImportQuantStatsPassForTFControlDialect(quantize_stats);
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 08 10:41:08 UTC 2024
    - 9.9K bytes
    - Viewed (0)
Back to top