- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for to_tensor (0.06 seconds)
-
tensorflow/c/BUILD
name = "tf_tensor_hdrs", hdrs = [ "tf_tensor.h", "tf_tensor_helper.h", ], visibility = ["//visibility:public"], deps = [ ":c_api_macros_hdrs", ":tf_datatype_hdrs", ":tf_status_headers", "//tensorflow/core/platform:status", ], ) cc_library( name = "tf_tensor", srcs = ["tf_tensor.cc"], hdrs = [ "tf_tensor.h",
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 17 18:49:14 GMT 2026 - 30.3K bytes - Click Count (0) -
RELEASE.md
* Add `RaggedTensor.merge_dims()`. * Added new `uniform_row_length` row-partitioning tensor to `RaggedTensor`. * Add `shape` arg to `RaggedTensor.to_tensor`; Improve speed of `RaggedTensor.to_tensor`. * `tf.io.parse_sequence_example` and `tf.io.parse_single_sequence_example` now support ragged features. * Fix `while_v2` with variables in custom gradient.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Mon Mar 30 18:31:38 GMT 2026 - 746.5K bytes - Click Count (3) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_Tensor* expected_out0 = expected_csession->output_tensor(0); TF_Tensor* expected_out1 = expected_csession->output_tensor(1); CompareTensors(out0, expected_out0); CompareTensors(out1, expected_out1); } void CompareTensors(TF_Tensor* a, TF_Tensor* b) { float* a_data = static_cast<float*>(TF_TensorData(a));
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/c_api_experimental_test.cc
} TEST_F(ShapeInferenceTest, InfersShapesFromInputTensors) { // Prepare some tensors for shape. TF_Tensor* tensor_1X6 = Int32Tensor({1, 6}); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_); TF_Tensor* tensor_1X1X6 = Int32Tensor({1, 1, 6}); CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 13.1K bytes - Click Count (0) -
ci/official/utilities/repack_libtensorflow.sh
cp tensorflow/c/c_api.h \ tensorflow/c/tf_attrtype.h \ tensorflow/c/tf_buffer.h \ tensorflow/c/tf_datatype.h \ tensorflow/c/tf_status.h \ tensorflow/c/tf_tensor.h \ tensorflow/c/tf_tensor_helper.h \ tensorflow/c/tf_tstring.h \ tensorflow/c/tf_file_statistics.h \ tensorflow/c/tensor_interface.h \ tensorflow/c/c_api_macros.h \Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 21 01:25:46 GMT 2026 - 3.7K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
~CApiFunctionTest() override { TF_DeleteFunction(func_); TF_DeleteGraph(host_graph_); TF_DeleteGraph(func_graph_); TF_DeleteStatus(s_); } void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs, TF_Operation* output, int32_t expected_result) { Run(inputs, {{output, 0}}, {expected_result}); } // Run the host graph, which now contains a function and check thatCreated: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1)