Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 48 for PassRegistration (0.17 sec)

  1. 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)
  2. 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)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createUnfuseBatchNormPass() {
      return std::make_unique<UnfuseMhloBatchNormPass>();
    }
    
    static PassRegistration<UnfuseMhloBatchNormPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. tensorflow/compiler/mlir/lite/stablehlo/transforms/fold_broadcast_pass.cc

          return signalPassFailure();
        }
      }
    };
    
    std::unique_ptr<Pass> createFoldBroadcastPass() {
      return std::make_unique<FoldBroadcastPass>();
    }
    
    static PassRegistration<FoldBroadcastPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/quantize.cc

    struct QuantizePass : public impl::QuantizePassBase<QuantizePass> {
     public:
      MLIR_DEFINE_EXPLICIT_INTERNAL_INLINE_TYPE_ID(QuantizePass)
    
      // Constructor used by the PassRegistration and only used by test.
      explicit QuantizePass() { quant_specs.inference_type = tensorflow::DT_QINT8; }
    
      // Constructor used by manually creating the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:30:06 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_save_function_ops_to_main.cc

      save_func_op.erase();
    }
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateMergeSaveFunctionOpsToMainPass() {
      return std::make_unique<MergeSaveFunctionOpsToMainPass>();
    }
    
    static PassRegistration<MergeSaveFunctionOpsToMainPass> pass([] {
      return CreateMergeSaveFunctionOpsToMainPass();
    });
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/preprocess_op.cc

        const bool enable_per_channel_quantization) {
      return std::make_unique<PreprocessOpPass>(op_set, quantization_method,
                                                enable_per_channel_quantization);
    }
    
    static PassRegistration<PreprocessOpPass> pass;
    
    }  // namespace quant
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/convert_tf_xla_op_to_tf_op.cc

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