Home
last modified time | relevance | path

Searched refs:precision_ (Results 1 – 16 of 16) sorted by relevance

/external/tensorflow/tensorflow/contrib/coder/kernels/
Drange_coder.cc32 RangeEncoder::RangeEncoder(int precision) : precision_(precision) { in RangeEncoder()
41 DCHECK_LE(upper, 1 << precision_); in Encode()
65 const uint32 a = (size * static_cast<uint64>(lower)) >> precision_; in Encode()
66 const uint32 b = ((size * static_cast<uint64>(upper)) >> precision_) - 1; in Encode()
301 precision_(precision) { in RangeDecoder()
311 ((static_cast<uint64>(value_ - base_) + 1) << precision_) - 1; in Decode()
329 DCHECK_LE(*mid, 1 << precision_); in Decode()
345 const uint32 a = (size * static_cast<uint64>(*(pv - 1))) >> precision_; in Decode()
346 const uint32 b = ((size * static_cast<uint64>(*pv)) >> precision_) - 1; in Decode()
347 DCHECK_LE(a, offset >> precision_); in Decode()
[all …]
Drange_coder_ops.cc138 OP_REQUIRES_OK(context, context->GetAttr("precision", &precision_)); in RangeEncodeOp()
139 OP_REQUIRES(context, 0 < precision_ && precision_ <= 16, in RangeEncodeOp()
141 precision_)); in RangeEncodeOp()
192 RangeEncoder encoder{precision_}; in RangeEncodeImpl()
211 int precision_; member in tensorflow::__anon72f8b5b20111::RangeEncodeOp
220 OP_REQUIRES_OK(context, context->GetAttr("precision", &precision_)); in RangeDecodeOp()
221 OP_REQUIRES(context, 0 < precision_ && precision_ <= 16, in RangeDecodeOp()
223 precision_)); in RangeDecodeOp()
282 RangeDecoder decoder{encoded, precision_}; in RangeDecodeImpl()
302 int precision_; member in tensorflow::__anon72f8b5b20111::RangeDecodeOp
Dpmf_to_cdf_op.cc42 OP_REQUIRES_OK(context, context->GetAttr("precision", &precision_)); in PmfToCdfOp()
44 context, 0 < precision_ && precision_ <= 16, in PmfToCdfOp()
45 InvalidArgument("`precision` must be in [1, 16]: ", precision_)); in PmfToCdfOp()
142 const int32 normalizer = 1 << precision_; in PerShard()
190 int precision_; member in tensorflow::__anon312944970111::PmfToCdfOp
Drange_coder.h61 const int precision_; variable
105 const int precision_; variable
/external/ImageMagick/Magick++/lib/
DSecurityPolicy.cpp28 bool Magick::SecurityPolicy::precision(const int precision_) in precision() argument
33 value=toString(precision_); in precision()
/external/deqp/external/vulkancts/modules/vulkan/
DvktInfoTests.cpp164 PrettySize (SizeType value_, int precision_) in PrettySize()
166 , precision (precision_) in PrettySize()
/external/ImageMagick/Magick++/lib/Magick++/
DSecurityPolicy.h21 static bool precision(const int precision_);
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp112 ShaderInput (InputType inputType_, DataType dataType_, Precision precision_) in ShaderInput()
115 , precision (precision_) in ShaderInput()
/external/deqp/modules/gles3/functional/
Des3fFragmentOutputTests.cpp103 …FragmentOutput (glu::DataType type_, glu::Precision precision_, int location_, int arrayLength_ = … in FragmentOutput()
105 , precision (precision_) in FragmentOutput()
Des3fShaderDerivateTests.cpp1551 …nst std::string& name_, DerivateFunc function_, glu::DataType dataType_, glu::Precision precision_) in FunctionSpec()
1555 , precision (precision_) in FunctionSpec()
Des3fShaderMatrixTests.cpp217 ShaderInput (InputType inputType_, DataType dataType_, Precision precision_) in ShaderInput()
220 , precision (precision_) in ShaderInput()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp1561 …nst std::string& name_, DerivateFunc function_, glu::DataType dataType_, glu::Precision precision_) in FunctionSpec()
1565 , precision (precision_) in FunctionSpec()
DvktShaderRenderMatrixTests.cpp212 ShaderInput (InputType inputType_, DataType dataType_, Precision precision_) in ShaderInput()
215 , precision (precision_) in ShaderInput()
/external/protobuf/conformance/third_party/jsoncpp/
Djsoncpp.cpp4836 unsigned int precision_; member
4855 , precision_(precision) in BuiltStyledStreamWriter()
4885 pushValue(valueToString(value.asDouble(), useSpecialFloats_, precision_)); in writeValue()
/external/deqp/modules/glshared/
DglsBuiltinPrecisionTests.cpp4452 Precision precision_, in Context()
4460 , precision (precision_) in Context()
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderBuiltinPrecisionTests.cpp5740 const Precision precision_, in CaseContext()
5749 , precision (precision_) in CaseContext()