- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for dim (0.21 sec)
-
tensorflow/c/c_api.cc
const int64_t* dims) { if (num_dims != -1) { std::vector<tensorflow::shape_inference::DimensionHandle> dim_vec; dim_vec.reserve(num_dims); for (int i = 0; i < num_dims; ++i) { dim_vec.push_back(ic->MakeDim(dims[i])); } return ic->MakeShape(dim_vec); } else { return ic->UnknownShape(); } } } // namespace
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
#undef EXPECT_TF_META TEST(CAPI, TestTensorAligned) { int64_t dim = 7; size_t tensor_size_bytes = dim * TF_DataTypeSize(TF_FLOAT); TF_Tensor* a = TF_AllocateTensor( /*dtype=*/TF_FLOAT, /*dims=*/&dim, /*num_dims=*/1, /*len=*/tensor_size_bytes); float* data = reinterpret_cast<float*>(TF_TensorData(a)); for (int i = 0; i < dim; ++i) { data[i] = 0; } if (TF_TensorDefaultAlignment() > 0) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_api_experimental.cc
status->status = InvalidArgument("Expected rank is ", num_dims, " but actual rank is ", rank); return; } for (int i = 0; i < num_dims; i++) { dims[i] = shape.dim_size(i); } } int TF_CheckpointReaderGetVariableNumDims(TF_CheckpointReader* reader, const char* name) { const auto& m = reader->GetVariableToShapeMap();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
RELEASE.md
becomes `axis` * `tf.reverse_sequence`: `batch_dim` becomes `batch_axis`, `seq_dim` becomes `seq_axis` * `tf.sparse_concat`: `concat_dim` becomes `axis` * `tf.sparse_reduce_sum`: `reduction_axes` becomes `axis` * `tf.sparse_reduce_sum_sparse`: `reduction_axes` becomes `axis` * `tf.sparse_split`: `split_dim` becomes `axis` * `tf.listdiff` has been renamed
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 29 19:17:57 GMT 2024 - 727.7K bytes - Viewed (8)