/external/tensorflow/tensorflow/core/kernels/ |
D | quantize_op.cc | 68 string mode_string; in QuantizeV2Op() local 69 OP_REQUIRES_OK(ctx, ctx->GetAttr("mode", &mode_string)); in QuantizeV2Op() 71 (mode_string == "MIN_COMBINED" || mode_string == "MIN_FIRST" || in QuantizeV2Op() 72 mode_string == "SCALED"), in QuantizeV2Op() 75 mode_string + "'")); in QuantizeV2Op() 76 if (mode_string == "MIN_COMBINED") { in QuantizeV2Op() 78 } else if (mode_string == "MIN_FIRST") { in QuantizeV2Op() 80 } else if (mode_string == "SCALED") { in QuantizeV2Op() 96 OP_REQUIRES(ctx, mode_string == "SCALED", in QuantizeV2Op() 100 mode_string + "'.")); in QuantizeV2Op()
|
D | dequantize_op.cc | 55 string mode_string; in DequantizeOp() local 56 OP_REQUIRES_OK(ctx, ctx->GetAttr("mode", &mode_string)); in DequantizeOp() 68 (mode_string == "MIN_COMBINED" || in DequantizeOp() 69 mode_string == "MIN_FIRST" || mode_string == "SCALED"), in DequantizeOp() 72 mode_string + "'")); in DequantizeOp() 75 ctx, (mode_string == "MIN_COMBINED"), in DequantizeOp() 78 mode_string + "'")); in DequantizeOp() 81 if (mode_string == "MIN_COMBINED") { in DequantizeOp() 83 } else if (mode_string == "MIN_FIRST") { in DequantizeOp() 85 } else if (mode_string == "SCALED") { in DequantizeOp()
|
/external/tensorflow/tensorflow/core/kernels/mkl/ |
D | mkl_quantize_op.cc | 217 string mode_string; in MklQuantizeV2Op() local 218 OP_REQUIRES_OK(ctx, ctx->GetAttr("mode", &mode_string)); in MklQuantizeV2Op() 220 (mode_string == "MIN_COMBINED" || mode_string == "MIN_FIRST" || in MklQuantizeV2Op() 221 mode_string == "SCALED"), in MklQuantizeV2Op() 224 mode_string + "'")); in MklQuantizeV2Op() 225 if (mode_string == "MIN_COMBINED") { in MklQuantizeV2Op() 227 } else if (mode_string == "MIN_FIRST") { in MklQuantizeV2Op() 229 } else if (mode_string == "SCALED") { in MklQuantizeV2Op() 245 OP_REQUIRES(ctx, mode_string == "SCALED", in MklQuantizeV2Op() 249 mode_string + "'.")); in MklQuantizeV2Op()
|
D | mkl_dequantize_op.cc | 42 string mode_string; in MklDequantizeOp() local 43 OP_REQUIRES_OK(ctx, ctx->GetAttr("mode", &mode_string)); in MklDequantizeOp() 44 OP_REQUIRES(ctx, mode_string == "SCALED", in MklDequantizeOp() 47 mode_string + "'")); in MklDequantizeOp()
|
D | mkl_qmatmul_op.cc | 141 string mode_string; in MklDnnQuantizedMatMulOp() local 142 OP_REQUIRES_OK(context, context->GetAttr("input_quant_mode", &mode_string)); in MklDnnQuantizedMatMulOp() 143 if (mode_string == "MIN_FIRST") { in MklDnnQuantizedMatMulOp() 145 } else if (mode_string == "SCALED") { in MklDnnQuantizedMatMulOp() 150 mode_string)); in MklDnnQuantizedMatMulOp()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | dequantize_op.cc | 43 string mode_string; in DequantizeOp() local 47 OP_REQUIRES_OK(ctx, ctx->GetAttr("mode", &mode_string)); in DequantizeOp() 49 ctx, (mode_string == "MIN_COMBINED"), in DequantizeOp() 51 mode_string + "'")); in DequantizeOp()
|
/external/f2fs-tools/tools/sg_write_buffer/ |
D | sg_write_buffer.c | 138 const char *mode_string; member 178 for (mp = mode_arr; mp->mode_string; ++mp) { in print_modes() 180 mp->mode_string, mp->comment); in print_modes() 271 for (mp = mode_arr; mp->mode_string; ++mp) { in main() 272 if (0 == strncmp(mp->mode_string, optarg, len)) { in main() 277 if (! mp->mode_string) { in main()
|
/external/tensorflow/tensorflow/compiler/xla/client/lib/ |
D | quantize.h | 83 absl::string_view mode_string = "MIN_COMBINED", 139 if (mode_string == "MIN_COMBINED") {
|
/external/python/cpython3/Modules/_io/ |
D | fileio.c | 1053 mode_string(fileio *self) function 1091 self->fd, mode_string(self), self->closefd ? "True" : "False"); 1099 nameobj, mode_string(self), self->closefd ? "True" : "False"); 1171 return PyUnicode_FromString(mode_string(self));
|
/external/python/cpython2/Modules/_io/ |
D | fileio.c | 936 mode_string(fileio *self) in mode_string() function 969 self->fd, mode_string(self)); in fileio_repr() 978 mode_string(self)); in fileio_repr() 1115 return PyUnicode_FromString(mode_string(self)); in get_mode()
|
/external/mesa3d/src/compiler/glsl/ |
D | linker.cpp | 874 mode_string(var), in validate_intrastage_arrays() 886 mode_string(var), in validate_intrastage_arrays() 954 mode_string(var), in cross_validate_globals() 967 mode_string(var), var->name); in cross_validate_globals() 973 "differing values\n", mode_string(var), var->name); in cross_validate_globals() 1002 mode_string(var), var->name); in cross_validate_globals() 1014 mode_string(var), var->name); in cross_validate_globals() 1075 mode_string(var), var->name); in cross_validate_globals() 1103 mode_string(var), var->name); in cross_validate_globals() 1109 mode_string(var), var->name); in cross_validate_globals() [all …]
|
D | glsl_parser_extras.h | 172 mode_string(var), requirement); in check_explicit_attrib_location_allowed() 188 mode_string(var), requirement); in check_separate_shader_objects_allowed()
|
D | ir.h | 2521 mode_string(const ir_variable *var);
|
D | ir.cpp | 2373 mode_string(const ir_variable *var) in mode_string() function
|
D | ast_to_hir.cpp | 3297 mode_string(var), in apply_explicit_location()
|
/external/tensorflow/tensorflow/core/kernels/data/experimental/ |
D | snapshot_util.cc | 887 Status DetermineOpState(const std::string& mode_string, bool file_exists, in DetermineOpState() argument 891 if (mode_string == kModeRead) { in DetermineOpState() 901 if (mode_string == kModeWrite) { in DetermineOpState() 907 if (mode_string == kModePassthrough) { in DetermineOpState()
|
D | snapshot_util.h | 296 Status DetermineOpState(const std::string& mode_string, bool file_exists,
|
/external/tensorflow/tensorflow/stream_executor/ |
D | dnn.cc | 552 const char* mode_string = in ToString() local 566 mode_string, window, strides, padding, propagate_string); in ToString()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | mkl_layout_pass.cc | 1530 string mode_string; in DequantizeRewrite() local 1531 TF_CHECK_OK(GetNodeAttr(n->def(), "mode", &mode_string)); in DequantizeRewrite() 1532 if (mode_string != "SCALED") { in DequantizeRewrite() 1657 string mode_string; in QuantizeOpRewrite() local 1662 TF_CHECK_OK(GetNodeAttr(n->def(), "mode", &mode_string)); in QuantizeOpRewrite() 1679 if (!((mode_string == "SCALED" && round_mode_string == "HALF_TO_EVEN") || in QuantizeOpRewrite() 1680 (mode_string == "MIN_FIRST"))) { in QuantizeOpRewrite() 1695 if (mode_string == "MIN_FIRST") { in QuantizeOpRewrite()
|