Home
last modified time | relevance | path

Searched refs:WriteScalar (Results 1 – 25 of 41) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/data/
Dgroup_by_window_dataset_op.cc304 writer->WriteScalar(full_name("end_of_input"), "")); in SaveInternal()
310 writer->WriteScalar(full_name("groups_size"), groups_.size())); in SaveInternal()
314 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
325 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("window_sizes_size"), in SaveInternal()
330 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
333 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
345 writer->WriteScalar(full_name("current_key"), current_key_)); in SaveInternal()
347 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
415 writer->WriteScalar(strings::StrCat(name, "_size"), group.size())); in SaveGroup()
417 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveGroup()
Dparallel_map_dataset_op.cc212 writer->WriteScalar(full_name("end_of_input"), "")); in SaveInternal()
214 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("num_inputs_consumed"), in SaveInternal()
216 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
224 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
235 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
341 TF_RETURN_IF_ERROR(writer->WriteScalar( in WriteStatusLocked()
344 TF_RETURN_IF_ERROR(writer->WriteScalar(ErrorMessageKey(index), in WriteStatusLocked()
Dshuffle_dataset_op.cc163 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("num_random_samples"), in SaveInternal()
170 writer->WriteScalar(full_name("end_of_input_sequence"), "")); in SaveInternal()
176 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("epoch"), epoch_)); in SaveInternal()
178 writer->WriteScalar(full_name("num_elements"), num_elements_)); in SaveInternal()
180 writer->WriteScalar(full_name("slices_size"), slices_.size())); in SaveInternal()
182 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
185 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
189 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
Dinterleave_dataset_op.cc217 writer->WriteScalar(full_name("cycle_index"), cycle_index_)); in SaveInternal()
219 writer->WriteScalar(full_name("block_index"), block_index_)); in SaveInternal()
222 writer->WriteScalar(full_name("end_of_input"), "")); in SaveInternal()
225 writer->WriteScalar(full_name("num_open"), num_open_)); in SaveInternal()
255 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveCurrentElements()
Dflat_map_dataset_op.cc176 writer->WriteScalar(full_name("element_index"), element_index_)); in SaveInternal()
179 writer->WriteScalar(full_name("captured_func_inputs_size"), in SaveInternal()
188 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
192 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("exhausted"), "")); in SaveInternal()
Dprefetch_dataset_op.cc157 writer->WriteScalar(full_name("buffer_size"), buffer_.size())); in SaveInternal()
162 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
283 TF_RETURN_IF_ERROR(writer->WriteScalar( in WriteStatus()
286 TF_RETURN_IF_ERROR(writer->WriteScalar(ErrorMessageKey(index), in WriteStatus()
Drepeat_dataset_op.cc140 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("i"), i_)); in SaveInternal()
143 writer->WriteScalar(full_name("input_impl_empty"), "")); in SaveInternal()
207 writer->WriteScalar(full_name("uninitialized"), "")); in SaveInternal()
Dreader_dataset_ops.cc172 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("current_file_index"), in SaveInternal()
179 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
438 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("current_file_index"), in SaveInternal()
446 writer->WriteScalar(full_name("current_pos"), current_pos)); in SaveInternal()
621 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("current_file_index"), in SaveInternal()
626 writer->WriteScalar(full_name("offset"), reader_->TellOffset())); in SaveInternal()
Dsparse_tensor_slice_dataset_op.cc156 TF_RETURN_IF_ERROR(writer->WriteScalar(Iterator::full_name("i"), i_)); in SaveInternal()
158 writer->WriteScalar(Iterator::full_name("iter_loc"), iter_.loc())); in SaveInternal()
159 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
Dtake_dataset_op.cc141 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("i"), i_)); in SaveInternal()
146 writer->WriteScalar(full_name("input_impl_empty"), "")); in SaveInternal()
Dskip_dataset_op.cc154 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("i"), i_)); in SaveInternal()
159 writer->WriteScalar(full_name("input_impl_empty"), "")); in SaveInternal()
Dconcatenate_dataset_op.cc129 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("i"), i_)); in SaveInternal()
134 writer->WriteScalar(full_name("input_impl_uninitialized"), "")); in SaveInternal()
Dunique_dataset_op.cc119 writer->WriteScalar(full_name("input_impl_empty"), "")); in SaveInternal()
121 TF_RETURN_IF_ERROR(writer->WriteScalar( in SaveInternal()
Dwindow_dataset.cc64 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("i"), i_)); in SaveInternal()
Dtensor_dataset_op.cc111 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("produced"), "")); in SaveInternal()
Drange_dataset_op.cc115 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("next"), next_)); in SaveInternal()
Drandom_dataset_op.cc112 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("num_random_samples"), in SaveInternal()
/external/tensorflow/tensorflow/contrib/tensorboard/db/
Dsummary_file_writer_test.cc108 TEST_F(SummaryFileWriterTest, WriteScalar) { in TEST_F() argument
114 TF_RETURN_IF_ERROR(writer->WriteScalar(2, one, "name")); in TEST_F()
208 TF_RETURN_IF_ERROR(writer->WriteScalar(2, one, "name")); in TEST_F()
/external/flatbuffers/tests/namespace_test/
Dnamespace_test1_generated.h65 flatbuffers::WriteScalar(&a_, _a); in mutate_a()
71 flatbuffers::WriteScalar(&b_, _b); in mutate_b()
/external/flatbuffers/src/
Dreflection.cpp115 # define FLATBUFFERS_SET(T) WriteScalar(data, static_cast<T>(val)) in SetAnyValueI()
137 case reflection::Float: WriteScalar(data, static_cast<float>(val)); break; in SetAnyValueF()
138 case reflection::Double: WriteScalar(data, val); break; in SetAnyValueF()
190 WriteScalar<T>(offsetloc, ReadScalar<T>(offsetloc) + delta_ * D); in Straddle()
307 WriteScalar(vector_data(*flatbuf) + str_start, in SetString()
332 WriteScalar(vector_data(*flatbuf) + vec_start, newsize); // Length field. in ResizeAnyVector()
/external/tensorflow/tensorflow/core/framework/
Ddataset.h58 virtual Status WriteScalar(StringPiece key, const int64 val) = 0;
59 virtual Status WriteScalar(StringPiece key, const string& val) = 0;
462 writer->WriteScalar(kDatasetGraphKey, serialized_graph_def)); in Save()
464 writer->WriteScalar(kDatasetGraphOutputNodeKey, output_node)); in Save()
/external/tensorflow/tensorflow/core/kernels/
Dsummary_interface.h40 virtual Status WriteScalar(int64 global_step, Tensor t,
/external/tensorflow/tensorflow/contrib/kafka/kernels/
Dkafka_dataset_ops.cc172 TF_RETURN_IF_ERROR(writer->WriteScalar(full_name("current_topic_index"), in SaveInternal()
180 writer->WriteScalar(full_name("current_pos"), offset_)); in SaveInternal()
/external/tensorflow/tensorflow/contrib/data/kernels/
Dignore_errors_dataset_op.cc107 writer->WriteScalar(full_name("input_impls_empty"), "")); in SaveInternal()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h237 WriteScalar(data() + i, val);
246 WriteScalar(data() + i,
903 WriteScalar<voffset_t>(buf_.data() + sizeof(voffset_t),
905 WriteScalar<voffset_t>(buf_.data(), max_voffset_);
913 WriteScalar<voffset_t>(buf_.data() + field_location->id, pos);
940 WriteScalar(buf_.data_at(vtableoffsetloc),
1881 WriteScalar(data_ + field_offset, val);
1888 WriteScalar(data_ + field_offset,

12