Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 469 for float2 (0.34 sec)

  1. tensorflow/compiler/aot/codegen_test_h.golden

        set_arg_data(0, data);
      }
      float* arg0_data() {
        return static_cast<float*>(arg_data(0));
      }
      float& arg0(size_t dim0, size_t dim1) {
        return (*static_cast<float(*)[1][2]>(
            arg_data(0)))[dim0][dim1];
      }
      const float* arg0_data() const {
        return static_cast<const float*>(arg_data(0));
      }
      const float& arg0(size_t dim0, size_t dim1) const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 01:20:01 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/calibrator/custom_aggregator_op.cc

    }  // namespace
    
    REGISTER_OP("CustomAggregator")
        .Input("input: float")
        .Output("output: float")
        .Output("min: float")
        .Output("max: float")
        .Output("histogram: int64")
        .Attr("id: string")
        .Attr("calibration_method: int = 0")
        .Attr("num_bins: int = 0")
        .Attr("min_percentile: float = 0.0")
        .Attr("max_percentile: float = 0.0")
        .SetShapeFn([](::tensorflow::shape_inference::InferenceContext* c) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/experimental/tac/tests/raise-target-subgraphs.mlir

      %2 = "tfl.add"(%arg0, %arg3) {tac.device = "GPU", fused_activation_function = "RELU6", tac.inference_type = "FLOAT"} : (tensor<1xf32>, tensor<1xf32>) -> tensor<1xf32>
      %3 = "tfl.pack"(%1, %2) {tac.device = "CPU", tac.inference_type = "FLOAT", axis = 0 : i32, values_count = 2 : i32} : (tensor<1xf32>, tensor<1xf32>) -> tensor<2x1xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 74.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/experimental/tac/tests/get-alternative-subgraph.mlir

        %0 = tfl.add %arg0, %arg1 {fused_activation_function = "RELU6", tac.device = "GPU", tac.inference_type = "FLOAT"} : tensor<1xf32>
        %1 = tfl.mul %0, %arg2 {fused_activation_function = "RELU6", tac.device = "GPU", tac.inference_type = "FLOAT"} : tensor<1xf32>
        func.return %1 : tensor<1xf32>
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/cc/calibration/calibration_parameters.h

    inline int32_t CalculateBinIndex(const float value, const float lower_bound,
                                     const float bin_width) {
      return std::floor((value - lower_bound) / bin_width);
    }
    
    // Same as `CalculateBinIndex` but clamps to avoid out-of-bound.
    inline int32_t CalculateBinIndexSafe(const float value, const float lower_bound,
                                         const float bin_width,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/experimental/tac/transforms/cost_model.cc

    #include "tensorflow/compiler/mlir/lite/ir/tfl_ops.h"
    
    namespace mlir {
    namespace TFL {
    namespace tac {
    namespace {
    
    // These are just fake costs.
    constexpr float kDequantCost = 2.0;
    constexpr float kQuantCost = 2.0;
    constexpr float kRequantCost = 2.0;
    
    // TODO(renjieliu): Ideally this should consider different kinds of SOCs as
    // well.
    
    // Get total bytes transferred.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

        %1 = func.call @func_1_GPU_FLOAT(%arg0, %arg3) {tac.device = "GPU", tac.inference_type = "FLOAT", tac.interface_name = "func_1"} : (tensor<100xf32>, tensor<100xf32>) -> tensor<100xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  8. src/go/types/builtins.go

    			return
    		}
    
    		x.mode = novalue
    		if check.recordTypes() {
    			check.recordBuiltinType(call.Fun, makeSig(nil, map_, key))
    		}
    
    	case _Imag, _Real:
    		// imag(complexT) floatT
    		// real(complexT) floatT
    
    		// convert or check untyped argument
    		if isUntyped(x.typ) {
    			if x.mode == constant_ {
    				// an untyped constant number can always be considered
    				// as a complex constant
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

    constexpr float kMinSparsityLevel = 0.3;
    // Heuristic to check if a block configuration is correct for float constants.
    constexpr float kBlockOverRandomSparsityRatio = 0.9;
    // After quantization, some non-zero values are set to 0.
    // Lower the ratio for identifying block configuration for quantized constants.
    constexpr float kBlockOverRandomSparsityRatioQuant = 0.8;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

      const int max_T = std::numeric_limits<T>::max();
      const float max_float = std::numeric_limits<float>::max();
    
      const float scale_factor_from_min_side =
          (min_T * min_range > 0) ? min_T / min_range : max_float;
      const float scale_factor_from_max_side =
          (max_T * max_range > 0) ? max_T / max_range : max_float;
    
      const float scale_factor = std::min(scale_factor_from_min_side,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top