Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 48 for numBits (0.17 sec)

  1. cmd/format-erasure.go

    	format.Erasure.Version = formatErasureVersionV3
    	format.Erasure.DistributionAlgo = formatErasureVersionV3DistributionAlgoV3
    	format.Erasure.Sets = make([][]string, numSets)
    
    	for i := 0; i < numSets; i++ {
    		format.Erasure.Sets[i] = make([]string, setLen)
    		for j := 0; j < setLen; j++ {
    			format.Erasure.Sets[i][j] = mustGetUUID()
    		}
    	}
    	return format
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/prepare_quantize.cc

      if (!IsLegalQuantSpecs(func)) {
        return true;
      }
    
      OpBuilder builder(func);
      bool is_signed = quant_specs_.IsSignedInferenceType();
      IntegerAttr num_bits =
          builder.getI32IntegerAttr(quant_specs_.GetQuantizationTypeWidth());
      BoolAttr narrow_range = builder.getBoolAttr(false);
    
      auto add_quantize_op = [&](Location loc, Type input_type, Block* block,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

        return op.emitOpError("range is invalid: [" + Twine(std::to_string(rmin)) +
                              "," + Twine(std::to_string(rmax)) + "]");
      }
      int64_t num_bits = op.getNumBits();
      if (num_bits < 2 || num_bits > 16) {
        return op.emitOpError(
            "requires num_bits to be between 2 and 16, inclusive");
      }
      return success();
    }
    
    //===----------------------------------------------------------------------===//
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  4. src/cmd/vendor/github.com/google/pprof/internal/report/report.go

    					numValues[i] = v
    					numUnit[i] = unit
    				}
    				numLabels[k] = append(numLabels[k], numValues...)
    				numUnits[k] = append(numUnits[k], numUnit...)
    			}
    		}
    		s.NumLabel = numLabels
    		s.NumUnit = numUnits
    	}
    
    	// Remove label marking samples from the base profiles, so it does not appear
    	// as a nodelet in the graph view.
    	prof.RemoveLabel("pprof::base")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    }
    
    // numLabelsToString returns a string representation of a map
    // representing numeric labels.
    func numLabelsToString(numLabels map[string][]int64, numUnits map[string][]string) string {
    	ls := []string{}
    	for k, v := range numLabels {
    		units := numUnits[k]
    		var labelString string
    		if len(units) == len(v) {
    			values := make([]string, len(v))
    			for i, vv := range v {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      %0 = "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2) {min = 0.0 : f32, max = 1.0 : f32, num_bits = 5, narrow_range = true} : (tensor<8x8x8x8xf32>, tensor<f32>, tensor<f32>) -> tensor<8x8x8x8xf32>
      func.return %0 : tensor<8x8x8x8xf32>
    
      // CHECK-LABEL: fakeQuantVarsTrue
      // CHECK: "tf.FakeQuantWithMinMaxVars"(%arg0, %arg1, %arg2) <{narrow_range = true, num_bits = 5 : i64}> {max = 1.000000e+00 : f32, min = 0.000000e+00 : f32}
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_driver.cc

            attr, it->second, /*symmetric=*/true, /*num_bits=*/8, is_signed_,
            /*narrow_range=*/true, legacy_float_scale_);
      } else {
        // per-tensor quantization weight
        final_type = GetUniformQuantizedTypeForWeight(
            attr, /*symmetric=*/is_weight && is_signed_,
            /*num_bits=*/8, is_signed_,
            /*narrow_range=*/is_weight, legacy_float_scale_);
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 38.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py

                max=ops.convert_to_tensor(self._max[0]),
                num_bits=8,
                narrow_range=False,
            )
            y = array_ops.fake_quant_with_min_max_vars(
                y,
                min=ops.convert_to_tensor(self._min[1]),
                max=ops.convert_to_tensor(self._max[1]),
                num_bits=8,
                narrow_range=False,
            )
    
            out = math_ops.matmul(x, y)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 03:36:50 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api.cc

      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return -1;
      }
    
      int num_dims = -1;
      status->status = tensorflow::unwrap(h)->NumDims(&num_dims);
      return num_dims;
    }
    
    int64_t TFE_TensorHandleNumElements(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        } else {
          quant_type = mlir::dyn_cast<quant::UniformQuantizedType>(
              quant::GetUniformQuantizedTypeForWeight(
                  attr, /*symmetric=*/true,
                  /*num_bits=*/tensor_property.number_of_bits,
                  /*is_signed=*/true,
                  /*narrow_range=*/true, quant_specs_.legacy_float_scale));
        }
        if (!quant_type) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
Back to top