Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for PassRegistration (0.34 sec)

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

    // Creates an instance of the pass.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCompositeLoweringPass() {
      return std::make_unique<CompositeLoweringPass>();
    }
    
    // Registers the pass implementation
    static PassRegistration<CompositeLoweringPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_stablehlo_to_vhlo.cc

            failed(ApplyVhloToStablehloPatterns(module)) ||
            failed(ApplyUnrealizedCastCanonicalization(module)))
          return signalPassFailure();
      }
    };
    
    static PassRegistration<LegalizeStablehloToVhloPass> pass_s2v;
    static PassRegistration<LegalizeVhloToStablehloPass> pass_v2s;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 19:48:51 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

            calibration_parameters.set_num_bins(512);
            calib_opts_.mutable_calibration_parameters()->CopyFrom(
                calibration_parameters);
            break;
          }
        }
      }
    };
    
    static PassRegistration<InsertCustomAggregationOpsPass> pass;
    
    class AddCustomAggregationOp : public RewritePattern {
     public:
      // Does not take ownership of context, which must refer to a valid value that
      // outlives this object.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

    }
    
    }  // namespace
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreatePrepareLiftingPass(
        const OpSet target_opset) {
      return std::make_unique<PrepareLiftingPass>(target_opset);
    }
    
    static PassRegistration<PrepareLiftingPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeInitializerFunctionOpsToMainPass() {
      return std::make_unique<MergeInitializerFunctionOpsToMainPass>();
    }
    
    // Registers MergeInitializerFunctionOpsToMainPass.
    static PassRegistration<MergeInitializerFunctionOpsToMainPass> pass([] {
      return CreateMergeInitializerFunctionOpsToMainPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun May 12 12:54:52 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.cc

            op->print(log_stream);
            VLOG(2) << log_message;
          }
        });
      }
    
      const QuantizationOptions& quant_options_;
    };
    
    static PassRegistration<LiftQuantizableSpotsAsFunctionsPass> pass;
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions.inc"
    
    void LiftQuantizableSpotsAsFunctionsPass::runOnOperation() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top