Home
last modified time | relevance | path

Searched refs:QCHECK (Results 1 – 25 of 26) sorted by relevance

12

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_stream.h86 QCHECK(!finalized_) << "Finalize() already called."; in PushEntry()
101 QCHECK(!finalized_) << "Finalize() already called."; in PushBuffer()
112 QCHECK(!finalized_) << "Finalize() already called."; in PushSummary()
123 QCHECK(!finalized_) << "Finalize() may only be called once."; in Finalize()
144 QCHECK(finalized_) in GenerateQuantiles()
159 QCHECK(finalized_) in GenerateBoundaries()
170 QCHECK(level <= 0) << "Only overall error is available after Finalize()";
185 QCHECK(level < summary_levels_.size()) << "Invalid level.";
194 QCHECK(finalized_) in GetFinalSummary()
236 QCHECK(!finalized_) << "Finalize() already called."; in PropagateLocalSummary()
[all …]
Dweighted_quantiles_buffer.h56 QCHECK(max_size_ > 0) << "Invalid buffer specification: (" << block_size in WeightedQuantilesBuffer()
73 QCHECK(!IsFull()) << "Buffer already full: " << max_size_; in PushEntry()
/external/tensorflow/tensorflow/contrib/lite/toco/
Dmodel_cmdline_flags.cc213 QCHECK(!(uses_single_input_flags && uses_multi_input_flags)) in ReadModelFlagsFromCommandLineFlags()
220 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags()
225 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags()
232 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags()
237 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags()
240 QCHECK(mean_values.size() == model_flags->input_arrays_size()); in ReadModelFlagsFromCommandLineFlags()
249 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags()
254 QCHECK(uses_multi_input_flags); in ReadModelFlagsFromCommandLineFlags()
257 QCHECK(std_values.size() == model_flags->input_arrays_size()); in ReadModelFlagsFromCommandLineFlags()
266 QCHECK(uses_single_input_flags); in ReadModelFlagsFromCommandLineFlags()
[all …]
Dtoco_cmdline_flags.cc136 QCHECK(parsed_toco_flags.name.specified()) \ in ReadTocoFlagsFromCommandLineFlags()
140 QCHECK(!parsed_toco_flags.name.specified()) \ in ReadTocoFlagsFromCommandLineFlags()
158 QCHECK(Type##_Parse(parsed_toco_flags.name.value(), &x)) \ in ReadTocoFlagsFromCommandLineFlags()
186 QCHECK(toco::IODataType_Parse(parsed_toco_flags.input_type.value(), in ReadTocoFlagsFromCommandLineFlags()
200 QCHECK(!input_types.empty()); in ReadTocoFlagsFromCommandLineFlags()
205 QCHECK(toco::IODataType_Parse(input_types[0], &input_type)); in ReadTocoFlagsFromCommandLineFlags()
Dtoco.cc39 QCHECK(parsed_toco_flags.arg.specified()) << "Missing required flag: " #arg;
Dtooling_util.cc683 QCHECK(IsAsciiPrintable(input_array.name())) in CheckNonAsciiIOArrays()
691 QCHECK(IsAsciiPrintable(output_array)) in CheckNonAsciiIOArrays()
1166 QCHECK(!dst_input_array->has_data_type()); in ResolveModelFlags()
1209 QCHECK(specified_type != ArrayDataType::kNone); in ResolveModelFlags()
1211 QCHECK(specified_type == input_array.data_type) in ResolveModelFlags()
1842 QCHECK(model->HasArray(entry.name())) in UseArraysExtraInfo()
Dtoco_tooling.cc46 QCHECK(unsupported_ops.empty()) in CheckUnsupportedOperations()
Dexport_tensorflow.cc917 QCHECK(shape_array.data_type == ArrayDataType::kInt32) in ConvertTensorFlowReshapeOperator()
919 QCHECK(shape_array.buffer != nullptr) in ConvertTensorFlowReshapeOperator()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/trees/
Ddecision_tree.cc120 QCHECK(children.empty()) << "A leaf node cannot have children."; in LinkChildren()
124 QCHECK(children.size() == 2) in LinkChildren()
132 QCHECK(children.size() == 2) in LinkChildren()
142 QCHECK(children.size() == 2) in LinkChildren()
152 QCHECK(children.size() == 2) in LinkChildren()
160 QCHECK(children.size() == 2) in LinkChildren()
/external/tensorflow/tensorflow/compiler/xla/tools/
Dhlo_proto_to_json.cc64 QCHECK(statusor.ok()) << "Error converting " << input << " to JSON." in RealMain()
83 QCHECK(parse_ok && argc == 1) << "\n" << usage; in main()
85 QCHECK(!input_file.empty()) << "--input_file is required"; in main()
86 QCHECK(!output_file.empty()) << "--output_file is required"; in main()
Ddumped_computation_to_text.cc104 QCHECK(parsed_flags_ok) << "\n" << usage; in main()
107 QCHECK(argc > 1) << "\nERROR: must specify at least one module\n" << usage; in main()
Dhex_floats_to_packed_literal.cc65 QCHECK(sscanf(line.c_str(), "%f", &value) != 1) << "invalid float value: " in main()
/external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/stats/
Dnode-stats.h109 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/models/
Dmultiple_additive_trees.cc49 QCHECK(leaf_idx >= 0) << "Invalid tree: " << tree.DebugString(); in Predict()
51 QCHECK(leaf_node.has_leaf()) in Predict()
63 QCHECK(leaf_node.leaf().has_vector()) << "Unknown leaf type"; in Predict()
/external/tensorflow/tensorflow/compiler/tf2xla/
Dtf2xla_supported_ops.cc83 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/contrib/boosted_trees/lib/utils/
Dbatch_features.h67 QCHECK(example_start >= 0 && example_end >= 0); in examples_iterable()
68 QCHECK(example_start < batch_size_ && example_end <= batch_size_); in examples_iterable()
Doptional_value.h34 QCHECK(has_value()); in get_value()
Dsparse_column_iterable.h105 QCHECK(example_start >= 0 && example_end >= 0); in SparseColumnIterable()
Dbatch_features.cc36 QCHECK(num_dense_float_features + num_sparse_float_features + in Initialize()
/external/tensorflow/tensorflow/compiler/aot/
Dtfcompile_main.cc136 QCHECK(parsed_flags_ok) << "\n" << usage; in main()
139 QCHECK(argc == 1) << "\nERROR: This command does not take any arguments " in main()
/external/tensorflow/tensorflow/java/src/gen/cc/
Dop_gen_main.cc74 QCHECK(parsed_flags_ok && !lib_name.empty() && !output_dir.empty()) << usage; in main()
/external/tensorflow/tensorflow/contrib/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc85 QCHECK(false) << "Shapes must be specified"; in ComputeBinaryOperatorOutputSize()
874 QCHECK(block_shape_array.data_type == ArrayDataType::kInt32); in ProcessSpaceToBatchNDOperator()
885 QCHECK(paddings_array.data_type == ArrayDataType::kInt32); in ProcessSpaceToBatchNDOperator()
923 QCHECK(block_shape_array.data_type == ArrayDataType::kInt32); in ProcessBatchToSpaceNDOperator()
934 QCHECK(crops_array.data_type == ArrayDataType::kInt32); in ProcessBatchToSpaceNDOperator()
993 QCHECK(output_values.has_shape()); in ProcessTopkV2Operator()
/external/tensorflow/tensorflow/core/platform/default/
Dlogging.h294 #define QCHECK(condition) CHECK(condition) macro
/external/tensorflow/tensorflow/core/grappler/
Dgrappler_item_builder.cc380 QCHECK(it != new_item->feed.end()); in GrapplerItemFromMetaGraphDef()
/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc322 QCHECK(iter_and_inserted_flag.second) in Init()

12