Searched refs:data_vector (Results 1 – 3 of 3) sorted by relevance
58 void Append(std::vector<uint8_t>* data_vector, T data) { in Append() argument59 size_t pos = data_vector->size(); in Append()60 data_vector->resize(pos + sizeof(T)); in Append()61 memcpy(&(*data_vector)[pos], &data, sizeof(T)); in Append()
110 typedef std::vector<V> data_vector; typedef111 data_vector vec;114 typedef typename data_vector::iterator iterator;115 typedef typename data_vector::const_iterator const_iterator;126 data_vector t; in add_set()
203 Tensor data_vector(DT_FLOAT, shape_vector); in SimpleFusedBatchNormGrad() local204 test::FillIota<float>(&data_vector, 2.0f); in SimpleFusedBatchNormGrad()206 ops::Const(s->WithOpName("Scale"), Input::Initializer(data_vector)); in SimpleFusedBatchNormGrad()208 ops::Const(s->WithOpName("Reserve1"), Input::Initializer(data_vector)); in SimpleFusedBatchNormGrad()210 ops::Const(s->WithOpName("Reserve2"), Input::Initializer(data_vector)); in SimpleFusedBatchNormGrad()