- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for _max_val (0.15 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc
"input_quantization_axis", "quantization_axis", "rhs_quantization_axis"}; // Common suffixes for attributes used in FillQuantizationAttributes. constexpr std::array<absl::string_view, 2> kSuffixes = {"_min_val", "_max_val"}; Attribute GetWindowStridesValue( PatternRewriter& rewriter, llvm::StringMap<Attribute>& identifier_to_attr) { ArrayAttr stride = mlir::dyn_cast<ArrayAttr>(identifier_to_attr["strides"]);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 18.7K bytes - Viewed (0) -
tensorflow/c/kernels.h
// total_size)). TF_CAPI_EXPORT extern void TF_OpKernelConstruction_GetAttrTypeList( TF_OpKernelConstruction* ctx, const char* attr_name, TF_DataType* vals, int max_vals, TF_Status* status); // Interprets the named kernel construction attribute as int32_t array and // places it into *vals. *status is set to TF_OK. // `vals` must point to an array of length at least `max_values` (ideally set
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 09 22:46:22 UTC 2024 - 24.6K bytes - Viewed (0) -
src/strconv/atoi.go
if d >= byte(base) { return 0, syntaxError(fnParseUint, s0) } if n >= cutoff { // n*base overflows return maxVal, rangeError(fnParseUint, s0) } n *= uint64(base) n1 := n + uint64(d) if n1 < n || n1 > maxVal { // n+d overflows return maxVal, rangeError(fnParseUint, s0) } n = n1 } if underscores && !underscoreOK(s0) { return 0, syntaxError(fnParseUint, s0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:26 UTC 2024 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
""" in_placeholder = array_ops.placeholder(dtypes.float32, shape=input_shape) filters = random_ops.random_uniform( shape=filter_shape, minval=-1.0, maxval=1.0 ) if use_variable_for_filter: filters = variables.Variable(filters) output_tensor = nn_ops.conv2d( in_placeholder, filters, strides=[1, 1, 2, 1],
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/c/kernels.cc
void TF_OpKernelConstruction_GetAttr##func##List( \ TF_OpKernelConstruction* ctx, const char* attr_name, c_type* vals, \ int max_vals, TF_Status* status) { \ TF_SetStatus(status, TF_OK, ""); \ const tensorflow::AttrValue* attr = GetAttrValue(ctx, attr_name, status); \
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 22:53:47 UTC 2024 - 36K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
let description = [{ The generated values are uniform integers in the range `[minval, maxval)`. The lower bound `minval` is included in the range, while the upper bound `maxval` is excluded. The random integers are slightly biased unless `maxval - minval` is an exact power of two. The bias is small for values of `maxval - minval` significantly smaller than the range of the output (either `2^32` or `2^64`). }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
Used to test where the quantizer has to handle multiple signatures. """ def __init__(self): self.matmul_filters = random_ops.random_uniform( shape=(4, 3), minval=-1.0, maxval=1.0 ) self.conv_filters = np.random.uniform( low=-10, high=10, size=(2, 3, 3, 2) ).astype('f4') @def_function.function( input_signature=[
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/jit/mark_for_compilation_pass_test.cc
Output shape = ops::RandomUniformInt(root.WithOpName("shape"), shape_shape, ops::Const(root.WithOpName("minval"), 1), ops::Const(root.WithOpName("maxval"), 20)); Output reshape_input = ops::Placeholder(root.WithOpName("reshape_input"), DT_FLOAT, ops::Placeholder::Shape(TensorShape({500, 500}))); Output reshape =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 14 10:11:10 UTC 2024 - 79.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td
let description = [{ The generated values are uniform integers in the range `[minval, maxval)`. The lower bound `minval` is included in the range, while the upper bound `maxval` is excluded. The random integers are slightly biased unless `maxval - minval` is an exact power of two. The bias is small for values of `maxval - minval` significantly smaller than the range of the output (either `2^32` or `2^64`). }];
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 23:24:08 UTC 2024 - 793K bytes - Viewed (0) -
src/net/http/h2_bundle.go
return &buf }, } // parseUintBytes is like strconv.ParseUint, but using a []byte. func http2parseUintBytes(s []byte, base int, bitSize int) (n uint64, err error) { var cutoff, maxVal uint64 if bitSize == 0 { bitSize = int(strconv.IntSize) } s0 := s switch { case len(s) < 1: err = strconv.ErrSyntax goto Error case 2 <= base && base <= 36:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 364.1K bytes - Viewed (0)