Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 657 for const2 (0.08 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

     public:
      ConvertGeneralOp(MLIRContext *context,
                       const DenseSet<StringRef> &func_symbols)
          : ConversionPattern(MatchAnyOpTypeTag(), PatternBenefit(1), context),
            func_symbols_(func_symbols) {}
    
      LogicalResult matchAndRewrite(
          Operation *op, llvm::ArrayRef<Value> operands,
          ConversionPatternRewriter &rewriter) const final {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_custom_aggregation_ops.cc

     public:
      explicit InsertCustomAggregationOpsPass() : test_mode_(true) {
        initializeForTest();
      }
    
      explicit InsertCustomAggregationOpsPass(const CalibrationOptions &calib_opts)
          : test_mode_(false), calib_opts_(calib_opts) {}
    
      InsertCustomAggregationOpsPass(const InsertCustomAggregationOpsPass &other) {
        test_mode_ = other.test_mode_;
        test_case_ = other.test_case_;
        calib_opts_ = other.calib_opts_;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_operator.h

    // returns std::nullopt on failure.
    std::optional<flatbuffers::Offset<tflite::Operator>> CreateFlatBufferOperator(
        Operation *mlir_op, uint32_t opcode_index,
        const std::vector<int32_t> &operands, const std::vector<int32_t> &results,
        const std::vector<int32_t> &intermediates,
        flatbuffers::FlatBufferBuilder *fbb);
    
    // Populates the array of mlir::NamedAttributes corresponding to the given
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 21:00:09 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/loong64/a.out.go

    			LOONG64DWARFRegisters[r] = (r - from) + base
    		}
    	}
    	f(REG_R0, REG_R31, 0)
    	f(REG_F0, REG_F31, 32)
    
    }
    
    const (
    	BIG = 2046
    )
    
    const (
    	// mark flags
    	LABEL  = 1 << 0
    	LEAF   = 1 << 1
    	SYNC   = 1 << 2
    	BRANCH = 1 << 3
    )
    
    const (
    	C_NONE = iota
    	C_REG
    	C_FREG
    	C_FCSRREG
    	C_FCCREG
    	C_ZCON
    	C_SCON // 12 bit signed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 02:04:54 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc

     public:
      using OpRewritePattern::OpRewritePattern;
      LogicalResult matchAndRewrite(TF::OptionalFromValueOp op,
                                    PatternRewriter& rewriter) const override {
        Value value = nullptr;
        for (auto v : op.getComponents()) {
          value = v;
        }
        if (!value) return failure();
        rewriter.replaceOpWithNewOp<TF::IdentityOp>(op, value.getType(), value);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tf_tfl_passes.cc

    namespace tensorflow {
    namespace {
    // Data layout supported by TFLite.
    constexpr mlir::StringRef kTFLiteDataLayout = "NHWC";
    }  // namespace
    
    void AddQuantizationPasses(const mlir::TFL::PassConfig& pass_config,
                               mlir::OpPassManager& pass_manager) {
      const mlir::quant::QuantizationSpecs& quant_specs = pass_config.quant_specs;
      pass_manager.addNestedPass<mlir::func::FuncOp>(
          mlir::TFL::CreatePrepareQuantizePass(quant_specs));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/passes.h

    std::unique_ptr<OperationPass<ModuleOp>>
    CreateLiftQuantizableSpotsAsFunctionsPass(
        const ::stablehlo::quantization::QuantizationSpecs& quantization_specs);
    
    // Creates a pass that inserts CalibrationStatisticsSaverOp.
    std::unique_ptr<OperationPass<ModuleOp>>
    CreateInsertCalibrationStatisticsSaverPass(
        StringRef calibration_data_dir,
        const std::vector<std::string>& aggregator_ops_to_ignore);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_lifting.cc

      PrepareLiftingPass(const PrepareLiftingPass& other) {
        op_set_ = other.op_set_;
      }
    
      StringRef getArgument() const final {
        // This is the argument used to refer to the pass in
        // the textual format (on the commandline for example).
        return "quant-prepare-lifting";
      }
    
      StringRef getDescription() const final {
        // This is a brief description of the pass.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

        if (!input_type) {
          return failure();
        }
        const ArrayRef<int64_t> input_shape = input_type.getShape();
    
        const int input_size = input_shape.size();
    
        RankedTensorType begin_type = mlir::cast<RankedTensorType>(begin.getType());
        const ArrayRef<int64_t> begin_shape = begin_type.getShape();
        const int begin_dim = begin_shape.size();
    
        if (begin_dim != 1) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
  10. cmd/metrics-router.go

    	// Metrics v3 endpoints
    	metricsV3Path = "/metrics/v3"
    )
    
    // Standard env prometheus auth type
    const (
    	EnvPrometheusAuthType = "MINIO_PROMETHEUS_AUTH_TYPE"
    )
    
    type prometheusAuthType string
    
    const (
    	prometheusJWT    prometheusAuthType = "jwt"
    	prometheusPublic prometheusAuthType = "public"
    )
    
    // registerMetricsRouter - add handler functions for metrics.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top