Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 84 for PassRegistration (0.22 sec)

  1. 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)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_weights.cc

        }
    
        op->emitRemark("Not supported quantization data type.");
        return failure();
      }
    
     protected:
      tensorflow::quantization::QuantizationOptions quant_options_;
    };
    
    static PassRegistration<QuantizeWeightsPass> pass;
    
    void QuantizeWeightsPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
      auto module_op = getOperation();
      RewritePatternSet patterns(ctx);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 07:39:40 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc

    class QuantizePass
        : public PassWrapper<QuantizePass, OperationPass<func::FuncOp>> {
     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: Fri Mar 22 05:52:39 UTC 2024
    - 23.6K 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/lite/stablehlo/transforms/legalize_tf_xla_call_module_to_stablehlo_pass.cc

        }
      }
    };
    
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLegalizeTFXlaCallModuleToStablehloPass() {
      return std::make_unique<TFXlaCallModuleOpToStablehloPass>();
    }
    
    static PassRegistration<TFXlaCallModuleOpToStablehloPass> pass;
    
    }  // namespace odml
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 25 09:43:18 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top