quantize_and_dequantize_op.cc | 47 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_bits", &num_bits_)); 48 OP_REQUIRES(ctx, num_bits_ > 0 && num_bits_ < (signed_input_ ? 62 : 63), 49 errors::InvalidArgument("num_bits is out of range: ", num_bits_, 93 f(ctx->eigen_device<Device>(), input.flat<T>(), signed_input_, num_bits_, 100 int num_bits_; member in class:tensorflow::QuantizeAndDequantizeV2Op 170 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_bits", &num_bits_)); 171 OP_REQUIRES(ctx, num_bits_ > 0 && num_bits_ < (signed_input_ ? 62 : 63), 172 errors::InvalidArgument("num_bits is out of range: ", num_bits_, 206 int num_bits_; member in class:tensorflow::QuantizeAndDequantizeOp [all...] |