Home
last modified time | relevance | path

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

12

/external/tensorflow/tensorflow/contrib/boosted_trees/lib/quantiles/
Dweighted_quantiles_stream.h76 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 …]
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/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_stream.h76 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 …]
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/lite/toco/
Dmodel_cmdline_flags.cc189 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 …]
Dtoco_convert.cc36 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()
Dtoco_cmdline_flags.cc202 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()
Dtooling_util.cc557 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/
Dhlo_proto_to_json.cc66 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()
Ddumped_computation_to_text.cc99 QCHECK(parsed_flags_ok) << "\n" << usage; in main()
102 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/trees/
Ddecision_tree.cc145 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/
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/compiler/tf2tensorrt/utils/
Dtrt_allocator.cc38 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/
Dmultiple_additive_trees.cc55 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/
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.cc37 QCHECK(num_dense_float_features + num_sparse_float_features + in Initialize()
/external/tensorflow/tensorflow/compiler/aot/
Dtfcompile_main.cc144 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/
Dop_gen_main.cc69 QCHECK(parsed_flags_ok && !output_dir.empty()) << usage; in main()
/external/tensorflow/tensorflow/compiler/tf2tensorrt/plugin/
Dtrt_plugin_factory.h80 QCHECK(factory->RegisterPlugin(name, deserialize_func, construct_func)) in TrtPluginRegistrar()
/external/tensorflow/tensorflow/core/api_def/
Dapi_test.cc61 QCHECK(tensorflow::protobuf::TextFormat::ParseFromString(file_contents, in GetGoldenApiDefs()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dpropagate_fixed_sizes.cc104 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()

12