/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/ |
D | weighted_quantiles_stream.h | 76 QCHECK(eps > 0) << "An epsilon value of zero is not allowed."; in WeightedQuantilesStream() 91 QCHECK(!finalized_) << "Finalize() already called."; in PushEntry() 106 QCHECK(!finalized_) << "Finalize() already called."; in PushBuffer() 117 QCHECK(!finalized_) << "Finalize() already called."; in PushSummary() 128 QCHECK(!finalized_) << "Finalize() may only be called once."; in Finalize() 149 QCHECK(finalized_) in GenerateQuantiles() 164 QCHECK(finalized_) in GenerateBoundaries() 175 QCHECK(level <= 0) << "Only overall error is available after Finalize()"; 190 QCHECK(level < summary_levels_.size()) << "Invalid level."; 199 QCHECK(finalized_) in GetFinalSummary() [all …]
|
D | weighted_quantiles_buffer.h | 56 QCHECK(max_size_ > 0) << "Invalid buffer specification: (" << block_size in WeightedQuantilesBuffer() 73 QCHECK(!IsFull()) << "Buffer already full: " << max_size_; in PushEntry()
|
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/ |
D | weighted_quantiles_stream.h | 76 QCHECK(eps > 0) << "An epsilon value of zero is not allowed."; in WeightedQuantilesStream() 91 QCHECK(!finalized_) << "Finalize() already called."; in PushEntry() 106 QCHECK(!finalized_) << "Finalize() already called."; in PushBuffer() 117 QCHECK(!finalized_) << "Finalize() already called."; in PushSummary() 128 QCHECK(!finalized_) << "Finalize() may only be called once."; in Finalize() 149 QCHECK(finalized_) in GenerateQuantiles() 164 QCHECK(finalized_) in GenerateBoundaries() 175 QCHECK(level <= 0) << "Only overall error is available after Finalize()"; 190 QCHECK(level < summary_levels_.size()) << "Invalid level."; 199 QCHECK(finalized_) in GetFinalSummary() [all …]
|
D | weighted_quantiles_buffer.h | 56 QCHECK(max_size_ > 0) << "Invalid buffer specification: (" << block_size in WeightedQuantilesBuffer() 73 QCHECK(!IsFull()) << "Buffer already full: " << max_size_; in PushEntry()
|
/external/tensorflow/tensorflow/lite/toco/ |
D | model_cmdline_flags.cc | 189 QCHECK(port::file::GetContents(parsed_model_flags.model_flags_file.value(), in ReadModelFlagsFromCommandLineFlags() 196 QCHECK(ParseFromStringEitherTextOrBinary(model_flags_file_contents, in ReadModelFlagsFromCommandLineFlags() 236 QCHECK(!(uses_single_input_flags && uses_multi_input_flags)) in ReadModelFlagsFromCommandLineFlags() 243 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags() 248 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags() 255 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags() 260 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags() 263 QCHECK(mean_values.size() == model_flags->input_arrays_size()); in ReadModelFlagsFromCommandLineFlags() 272 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags() 277 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags() [all …]
|
D | toco_convert.cc | 36 QCHECK(output_file.specified()) << "Missing required flag --output_file.\n"; in CheckOutputFilePermissions() 37 QCHECK(port::file::Writable(output_file.value()).ok()) in CheckOutputFilePermissions() 44 QCHECK(input_file.specified()) << "Missing required flag --input_file.\n"; in CheckFrozenModelPermissions() 45 QCHECK(port::file::Exists(input_file.value(), port::file::Defaults()).ok()) in CheckFrozenModelPermissions() 47 QCHECK(port::file::Readable(input_file.value(), port::file::Defaults()).ok()) in CheckFrozenModelPermissions() 62 QCHECK(!parsed_toco_flags.savedmodel_directory.specified()) in ReadInputData()
|
D | toco_cmdline_flags.cc | 202 QCHECK(flag.specified()) << "Missing required flag " << flag_name; in EnforceFlagRequirement() 205 QCHECK(!flag.specified()) in EnforceFlagRequirement() 243 QCHECK(Type##_Parse(flag_value.value(), &x)) \ in ReadTocoFlagsFromCommandLineFlags() 291 QCHECK(toco::IODataType_Parse(parsed_toco_flags.input_type.value(), in ReadTocoFlagsFromCommandLineFlags() 305 QCHECK(!input_types.empty()); in ReadTocoFlagsFromCommandLineFlags() 310 QCHECK(toco::IODataType_Parse(input_types[0], &input_type)); in ReadTocoFlagsFromCommandLineFlags()
|
D | tooling_util.cc | 557 QCHECK(result.ok()) << result.error_message(); in DumpGraphvizVideoFrame() 577 QCHECK(result.ok()) << result.error_message(); in LogDump() 879 QCHECK(IsAsciiPrintable(input_array.name())) in CheckNonAsciiIOArrays() 887 QCHECK(IsAsciiPrintable(output_array)) in CheckNonAsciiIOArrays() 912 QCHECK(GetOpWithOutput(model, output_array)) in CheckNonExistentIOArrays() 919 QCHECK(GetOpWithInput(model, rnn_state.state_array())) in CheckNonExistentIOArrays() 923 QCHECK(GetOpWithOutput(model, rnn_state.back_edge_source_array())) in CheckNonExistentIOArrays() 1576 QCHECK(!dst_input_array->has_data_type()); in ResolveModelFlags() 1619 QCHECK(specified_type != ArrayDataType::kNone); in ResolveModelFlags() 1621 QCHECK(specified_type == input_array.data_type) in ResolveModelFlags() [all …]
|
/external/tensorflow/tensorflow/compiler/xla/tools/ |
D | hlo_proto_to_json.cc | 66 QCHECK(statusor.ok()) << "Error converting " << input << " to JSON." in RealMain() 85 QCHECK(parse_ok && argc == 1) << "\n" << usage; in main() 87 QCHECK(!input_file.empty()) << "--input_file is required"; in main() 88 QCHECK(!output_file.empty()) << "--output_file is required"; in main()
|
D | dumped_computation_to_text.cc | 99 QCHECK(parsed_flags_ok) << "\n" << usage; in main() 102 QCHECK(argc > 1) << "\nERROR: must specify at least one module\n" << usage; in main()
|
D | hex_floats_to_packed_literal.cc | 65 QCHECK(sscanf(line.c_str(), "%f", &value) != 1) << "invalid float value: " in main()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/ |
D | node-stats.h | 109 QCHECK(grad_stats.first.t.dims() == 2) in NodeStats() 112 QCHECK(grad_stats.first.t.dim_size(0) == 1) << strings::Printf( in NodeStats() 115 QCHECK(grad_stats.second.t.dims() == 3) in NodeStats() 118 QCHECK(grad_stats.second.t.shape() == in NodeStats() 158 QCHECK(grad_stats.first.t.dims() == 2) in NodeStats() 161 QCHECK(grad_stats.first.t.dim_size(0) == 1) << strings::Printf( in NodeStats() 164 QCHECK(grad_stats.second.t.dims() == 2) in NodeStats() 167 QCHECK(grad_stats.second.t.shape() == TensorShape({1, grad_dim})) in NodeStats()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/ |
D | decision_tree.cc | 145 QCHECK(children.empty()) << "A leaf node cannot have children."; in LinkChildren() 149 QCHECK(children.size() == 2) in LinkChildren() 157 QCHECK(children.size() == 2) in LinkChildren() 167 QCHECK(children.size() == 2) in LinkChildren() 177 QCHECK(children.size() == 2) in LinkChildren() 185 QCHECK(children.size() == 2) in LinkChildren()
|
/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | tf2xla_supported_ops.cc | 83 QCHECK(parsed_flags_ok) << "\n" << usage; in SupportedOpsMain() 84 QCHECK(XlaOpRegistry::IsBackendRegistered(device)) in SupportedOpsMain() 90 QCHECK(argc == 1) << "\nERROR: This command does not take any arguments " in SupportedOpsMain()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/utils/ |
D | trt_allocator.cc | 38 QCHECK(ptr) << "ptr must not be nullptr."; in Align() 87 QCHECK(Align(alignment, size, mem, total_size)); in allocate() 89 QCHECK(mem_map_.insert({mem, alloc_mem}).second); in allocate()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/models/ |
D | multiple_additive_trees.cc | 55 QCHECK(leaf_idx >= 0) << "Invalid tree: " << tree.DebugString(); in Predict() 61 QCHECK(leaf_node.has_leaf()) in Predict() 73 QCHECK(leaf_node.leaf().has_vector()) << "Unknown leaf type"; in Predict()
|
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/utils/ |
D | batch_features.h | 67 QCHECK(example_start >= 0 && example_end >= 0); in examples_iterable() 68 QCHECK(example_start < batch_size_ && example_end <= batch_size_); in examples_iterable()
|
D | optional_value.h | 34 QCHECK(has_value()); in get_value()
|
D | sparse_column_iterable.h | 105 QCHECK(example_start >= 0 && example_end >= 0); in SparseColumnIterable()
|
D | batch_features.cc | 37 QCHECK(num_dense_float_features + num_sparse_float_features + in Initialize()
|
/external/tensorflow/tensorflow/compiler/aot/ |
D | tfcompile_main.cc | 144 QCHECK(parsed_flags_ok) << "\n" << usage; in main() 147 QCHECK(argc == 1) << "\nERROR: This command does not take any arguments " in main()
|
/external/tensorflow/tensorflow/java/src/gen/cc/ |
D | op_gen_main.cc | 69 QCHECK(parsed_flags_ok && !output_dir.empty()) << usage; in main()
|
/external/tensorflow/tensorflow/compiler/tf2tensorrt/plugin/ |
D | trt_plugin_factory.h | 80 QCHECK(factory->RegisterPlugin(name, deserialize_func, construct_func)) in TrtPluginRegistrar()
|
/external/tensorflow/tensorflow/core/api_def/ |
D | api_test.cc | 61 QCHECK(tensorflow::protobuf::TextFormat::ParseFromString(file_contents, in GetGoldenApiDefs()
|
/external/tensorflow/tensorflow/lite/toco/graph_transformations/ |
D | propagate_fixed_sizes.cc | 104 QCHECK(false) << "Shapes must be specified"; in ComputeBinaryOperatorOutputSize() 1296 QCHECK(block_shape_array.data_type == ArrayDataType::kInt32); in ProcessSpaceToBatchNDOperator() 1307 QCHECK(paddings_array.data_type == ArrayDataType::kInt32); in ProcessSpaceToBatchNDOperator() 1345 QCHECK(block_shape_array.data_type == ArrayDataType::kInt32); in ProcessBatchToSpaceNDOperator() 1356 QCHECK(crops_array.data_type == ArrayDataType::kInt32); in ProcessBatchToSpaceNDOperator() 1453 QCHECK(output_values.has_shape()); in ProcessTopkV2Operator()
|