Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getRun (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      // TODO(fengliuai): moving the following to an utility method.
      const llvm::fltSemantics& semantics = op.getMin().getSemantics();
      float rmin, rmax;
      if (&semantics == &APFloat::IEEEsingle()) {
        rmin = op.getMin().convertToFloat();
        rmax = op.getMax().convertToFloat();
      } else {
        rmin = op.getMin().convertToDouble();
        rmax = op.getMax().convertToDouble();
      }
      // Range boundaries must be valid.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc

      const int num_inputs_expected = is_packed ? 1 : num_partitions;
    
      if (!((replicated && !is_packed) || (op.getN() == num_inputs_expected))) {
        return op.emitOpError() << "expected " << num_inputs_expected
                                << " inputs, got " << op.getN();
      }
    
      return success();
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 170.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

            builder_.CreateVector<int64_t>(zero_points));
      } else if (auto qtype = mlir::dyn_cast<mlir::quant::CalibratedQuantizedType>(
                     element_type)) {
        std::vector<float> mins = {static_cast<float>(qtype.getMin())};
        std::vector<float> maxs = {static_cast<float>(qtype.getMax())};
        q_params = tflite::CreateQuantizationParameters(
            builder_, builder_.CreateVector<float>(mins),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        // The unpack & pack should have the same axis & num inputs/outputs.
        if (pack_op.getAxis() != input_unpack_op.getAxis() ||
            pack_op.getValuesCount() != input_unpack_op.getNum())
          return failure();
    
        const int total_pack_inputs = pack_op.getNumOperands();
        const int num_results = input_unpack_op.getNumResults();
        if (total_pack_inputs != num_results) return failure();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top