HomeSort by relevance Sort by last modified time
    Searched defs:minval (Results 1 - 13 of 13) sorted by null

  /external/mesa3d/src/util/
format_srgb.h 84 } almostone, minval, f; local
88 minval.ui = (127-13) << 23;
95 if (!(x > minval.f))
96 x = minval.f;
102 tab = util_format_linear_to_srgb_helper_table[(f.ui - minval.ui) >> 20];
  /external/tensorflow/tensorflow/compiler/tf2xla/kernels/
stateless_random_ops.cc 55 // values with uniform distribution in the range [minval, maxval) for the given
59 xla::XlaOp seed, xla::XlaOp minval,
63 return xla::StatelessRngUniform({seed0, seed1}, shape, minval, maxval);
126 errors::InvalidArgument("minval must be scalar, got shape ",
130 errors::InvalidArgument("minval must be scalar, got shape ",
134 xla::XlaOp minval = ctx->Input(2); variable
140 StatelessRandomUniformImpl(xla_shape, dtype_, seed, minval, maxval);
random_ops.cc 222 errors::InvalidArgument("minval must be 0-D, got shape ",
228 auto minval = ctx->Input(1); variable
230 ctx->SetOutput(0, xla::RngUniform(minval, maxval, xla_shape));
stateful_random_ops.cc 84 xla::XlaOp minval,
93 return std::make_pair(xla::StatelessRngUniformF32(bits, minval, maxval),
102 xla::StatelessRngUniformInt(bits, minval, maxval, type, xla::U32),
111 xla::StatelessRngUniformInt(bits, minval, maxval, type, xla::U64),
301 xla::XlaOp minval = ctx->Input(3); variable
303 auto sample_with_threefry = [minval, maxval, this](
308 return StatefulRngUniform(key, counter, xla_shape, minval, maxval);
  /external/tensorflow/tensorflow/core/kernels/
stateless_random_ops.cc 123 const Tensor& minval = context->input(2); variable
125 OP_REQUIRES(context, TensorShapeUtils::IsScalar(minval.shape()),
126 errors::InvalidArgument("minval must be 0-D, got shape ",
127 minval.shape().DebugString()));
132 // Verify that minval < maxval. Note that we'll never reach this point for
134 const auto lo = minval.scalar<IntType>()();
138 errors::InvalidArgument("Need minval < maxval, got ", lo, " >= ", hi));
186 .HostMemory("minval") \
parameterized_truncated_normal_op_gpu.cu.cc 95 T minval = minvals[single_minval ? 0 : batch_id]; local
100 if (Eigen::numext::isinf(minval) || maxval < mean) {
103 T temp = minval;
104 minval = maxval;
112 const T normMin = (minval - mean) / stddev;
random_op.cc 225 const Tensor& minval = ctx->input(1); variable
227 OP_REQUIRES(ctx, TensorShapeUtils::IsScalar(minval.shape()),
228 errors::InvalidArgument("minval must be 0-D, got shape ",
229 minval.shape().DebugString()));
239 // Verify that minval < maxval. This check intentionally happens after the
241 IntType lo = minval.scalar<IntType>()();
245 errors::InvalidArgument("Need minval < maxval, got ", lo, " >= ", hi));
498 .HostMemory("minval") \
549 .HostMemory("minval") \
    [all...]
  /external/tensorflow/tensorflow/python/kernel_tests/
parameterized_truncated_normal_op_test.py 51 minval = None variable in class:TruncatedNormalMoments
54 def __init__(self, mean, stddev, minval, maxval):
59 self.minval = np.double(max(-10, minval))
83 np.power(self.minval, k - 1) * dist.pdf(self.minval))
84 denominator = dist.cdf(self.maxval) - dist.cdf(self.minval)
121 def validateMoments(self, shape, mean, stddev, minval, maxval, seed=1618):
129 minval,
133 expected_moments = TruncatedNormalMoments(mean, stddev, minval, maxval
    [all...]
  /external/libopus/celt/
mathops.h 84 opus_val16 minval = 0; local
88 minval = MIN16(minval, x[i]);
90 return MAX32(EXTEND32(maxval),-EXTEND32(minval));
100 opus_val32 minval = 0; local
104 minval = MIN32(minval, x[i]);
106 return MAX32(maxval, -minval);
  /external/mesa3d/src/gallium/drivers/softpipe/
sp_quad_depth_test.c 54 float minval, maxval; member in struct:depth_data
167 dvals[j] = CLAMP(quad->output.depth[j], data->minval, data->maxval);
810 data.minval = MIN2(near_val, far_val);
  /external/python/cpython2/Modules/
audioop.c 33 fbound(double val, double minval, double maxval)
38 else if (val < minval + 1.0) {
39 val = minval;
784 double factor, fval, maxval, minval; local
794 minval = (double) minvals[size];
807 val = fbound(fval, minval, maxval);
820 double fac1, fac2, fval, maxval, minval; local
835 minval = (double) minvals[size];
851 val1 = fbound(fval, minval, maxval);
864 double fac1, fac2, fval, maxval, minval; local
915 int len1, len2, size, val1 = 0, val2 = 0, minval, maxval, newval; local
    [all...]
  /external/python/cpython3/Modules/
audioop.c 21 fbound(double val, double minval, double maxval)
26 else if (val < minval + 1.0) {
27 val = minval;
918 double maxval, minval; local
925 minval = (double) minvals[width];
934 int ival = fbound(val * factor, minval, maxval);
959 double maxval, minval; local
972 minval = (double) minvals[width];
983 int ival = fbound(val, minval, maxval);
1008 double maxval, minval; local
1056 int minval, maxval, newval; local
    [all...]
  /bionic/libc/tzcode/
localtime.c 225 int_fast32_t minval = -1 - maxval; local
233 If the result would be minval - 1, return minval. */
235 result += minval;
248 int_fast64_t minval = -TWOS_COMPLEMENT(int_fast64_t) - maxval; local
256 If the result would be minval - 1, return minval. */
258 result += minval;
    [all...]

Completed in 1540 milliseconds