Home
last modified time | relevance | path

Searched refs:dtypes_ (Results 1 – 10 of 10) sorted by relevance

/external/tensorflow/tensorflow/core/kernels/
Dsave_restore_v2_ops.cc146 OP_REQUIRES_OK(context, context->GetAttr("dtypes", &dtypes_)); in RestoreV2()
153 OP_REQUIRES(context, tensor_names.NumElements() == dtypes_.size(), in Compute()
155 " tensor names, but ", dtypes_.size(), in Compute()
184 shape_and_slices, dtypes_)); in Compute()
189 std::vector<DataType> dtypes_; member in tensorflow::RestoreV2
Dresource_variable_ops.cc161 OP_REQUIRES_OK(c, c->GetAttr("dtypes", &dtypes_)); in ReadVariablesOp()
162 OP_REQUIRES(c, n == dtypes_.size(), in ReadVariablesOp()
165 " vs. ", dtypes_.size(), ")")); in ReadVariablesOp()
170 dtypes_.size()); in Compute()
171 std::vector<const ResourceHandle*> handles(dtypes_.size()); in Compute()
172 for (size_t i = 0; i < dtypes_.size(); ++i) { in Compute()
191 for (size_t i = 0; i < dtypes_.size(); ++i) { in Compute()
196 OP_REQUIRES(ctx, dtypes_[i] == variables[i]->tensor()->dtype(), in Compute()
200 " with wrong dtype. Expected ", DataTypeString(dtypes_[i]), in Compute()
Dmap_stage_op.cc95 DataTypeVector dtypes_ GUARDED_BY(mu_);
166 if (index >= dtypes_.size()) { in check_index()
169 "' was out of bounds '", dtypes_.size(), "'.")); in check_index()
214 "' was already initialized '", dtypes_.size(), "'.")); in check_index_uninitialized()
269 OptionalTuple empty(dtypes_.size()); in put_incomplete()
340 : dtypes_(dtypes), in StagingMap()
352 if (indices->NumElements() != dtypes_.size()) { in put()
Dresource_variable_ops.h38 DataTypeVector dtypes_;
/external/tensorflow/tensorflow/core/kernels/data/
Dtensor_dataset_op.cc52 dtypes_.push_back(t.dtype()); in Dataset()
63 const DataTypeVector& output_dtypes() const override { return dtypes_; } in output_dtypes()
90 b->BuildAttrValue(dtypes_, &dtypes); in AsGraphDefInternal()
143 DataTypeVector dtypes_; member in tensorflow::data::__anon927a684b0111::TensorDatasetOp::Dataset
Dtensor_slice_dataset_op.cc69 dtypes_.push_back(t.dtype()); in Dataset()
86 const DataTypeVector& output_dtypes() const override { return dtypes_; } in output_dtypes()
115 b->BuildAttrValue(dtypes_, &dtypes); in AsGraphDefInternal()
178 DataTypeVector dtypes_; member in tensorflow::data::__anon55e027fa0111::TensorSliceDatasetOp::Dataset
Dsparse_tensor_slice_dataset_op.cc37 dtypes_({DT_INT64, sparse_tensor.dtype(), DT_INT64}), in Dataset()
48 const DataTypeVector& output_dtypes() const override { return dtypes_; } in output_dtypes()
213 const DataTypeVector dtypes_; member in tensorflow::data::__anone5092be70111::Dataset
/external/tensorflow/tensorflow/contrib/ignite/kernels/dataset/
Dignite_dataset.cc43 dtypes_(dtypes), in IgniteDataset()
66 const DataTypeVector& IgniteDataset::output_dtypes() const { return dtypes_; } in output_dtypes()
Dignite_dataset.h57 const DataTypeVector dtypes_; variable
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h218 OP_REQUIRES_OK(ctx, ctx->GetAttr("dtypes", &dtypes_)); in XRTAllocateFromTensorOp()
225 ctx, tf_shapes_.size() == dtypes_.size(), in XRTAllocateFromTensorOp()
232 ctx, TensorShapeToXLAShape(dtypes_[i], tf_shapes_[i], &xla_shape)); in XRTAllocateFromTensorOp()
266 OP_REQUIRES(ctx, input_tensor.dtype() == dtypes_[i], in Compute()
310 DataTypeVector dtypes_; variable
512 OP_REQUIRES_OK(ctx, ctx->GetAttr("dtypes", &dtypes_)); in XRTReadToTensorOp()
592 DataTypeVector dtypes_; variable