- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 40 for numBits (0.17 sec)
-
tensorflow/compiler/mlir/lite/utils/fake_quant_utils.h
quant_dim = mlir::cast<ShapedType>(res.getType()).getRank() - 1; } // Use the min/max from the operands and the num_bits and narrow_range // attribute to create the quantization parameter for the new quantize op. rewriter.setInsertionPointAfter(tf_op.getOperation()); IntegerAttr num_bits = rewriter.getI64IntegerAttr(tf_op.getNumBits()); BoolAttr narrow_range = rewriter.getBoolAttr(tf_op.getNarrowRange());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc
quant_dim = mlir::cast<ShapedType>(res.getType()).getRank() - 1; } // Use the min/max from the operands and the num_bits and narrow_range // attribute to create the quantization parameter for the new quantize op. rewriter.setInsertionPointAfter(tf_op.getOperation()); IntegerAttr num_bits = rewriter.getI64IntegerAttr(tf_op.getNumBits()); BoolAttr narrow_range = rewriter.getBoolAttr(tf_op.getNarrowRange());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/utils/fake_quant_utils.h
quant_dim = input_type.getRank() - 1; } // Use the min/max from the operands and the num_bits and narrow_range // attribute to create the quantization parameter for the new quantize op. rewriter.setInsertionPointAfter(tf_op.getOperation()); IntegerAttr num_bits = rewriter.getI64IntegerAttr(tf_op.getNumBits()); BoolAttr narrow_range = rewriter.getBoolAttr(tf_op.getNarrowRange());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
min = fakequant_op.getODSOperands(1); max = fakequant_op.getODSOperands(2); { auto target_attr = op->getAttrOfType<IntegerAttr>("num_bits"); if (!target_attr) target_attr = rewriter.getIntegerAttr(rewriter.getIntegerType(64), 8); num_bits = target_attr; } { auto target_attr = op->getAttrOfType<BoolAttr>("narrow_range");
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
cmd/site-replication.go
} tagMismatch := !isReplicated(tagCount, numSites, tagSet) olockCfgMismatch := !isReplicated(olockCfgCount, numSites, olockConfigSet) sseCfgMismatch := !isReplicated(sseCfgCount, numSites, sseCfgSet) versionCfgMismatch := !isReplicated(versionCfgCount, numSites, versionCfgSet) policyMismatch := !isBktPolicyReplicated(numSites, policies) replCfgMismatch := !isBktReplCfgReplicated(numSites, replCfgs)
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 184.3K bytes - Viewed (0) -
tensorflow/c/tf_tensor.cc
void TF_SetShape(TF_Tensor* t, const int64_t* dims, int num_dims) { tensorflow::down_cast<tensorflow::TensorInterface*>(t->tensor)->SetShape( dims, num_dims); } int TF_NumDims(const TF_Tensor* t) { return t->tensor->NumDims(); } int64_t TF_Dim(const TF_Tensor* t, int dim_index) { return t->tensor->Dim(dim_index); } size_t TF_TensorByteSize(const TF_Tensor* t) { return t->tensor->ByteSize(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun Apr 14 21:57:32 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/insert_weight_param.cc
Type weight_type; if (IsPerTensor(weight_only_ptq)) { weight_type = dyn_cast<quant::QuantizedType>( quant::GetUniformQuantizedTypeForWeight( attr, /*symmetric=*/true, /*num_bits=*/8, /*is_signed=*/true, /*narrow_range=*/true, /*legacy_float_scale=*/false)); } else { int quantization_dimension = GetQuantizationDimension(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 05:56:10 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity.pbtxt
input: "BoxPredictor_4/ClassPredictor/weights_quant/max" attr { key: "narrow_range" value { b: true } } attr { key: "num_bits" value { i: 8 } } } node { name: "BoxPredictor_4/ClassPredictor/Conv2D" op: "Conv2D" input: "input"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_without_identity_4bit.pbtxt
input: "BoxPredictor_4/ClassPredictor/weights_quant/max" attr { key: "narrow_range" value { b: true } } attr { key: "num_bits" value { i: 4 } } } node { name: "BoxPredictor_4/ClassPredictor/Conv2D" op: "Conv2D" input: "input"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 13.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/end2end/fake_quant_per_channel_4bit.pbtxt
input: "BoxPredictor_4/ClassPredictor/weights_quant/max/read" attr { key: "narrow_range" value { b: true } } attr { key: "num_bits" value { i: 4 } } } node { name: "BoxPredictor_4/ClassPredictor/Conv2D" op: "Conv2D" input: "input"
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 18.1K bytes - Viewed (0)