- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for TF_DataType (0.06 seconds)
-
tensorflow/c/BUILD
], }), ) cc_library( name = "tf_datatype_hdrs", hdrs = ["tf_datatype.h"], visibility = ["//tensorflow:internal"], deps = [ ":c_api_macros_hdrs", ], ) cc_library( name = "tf_datatype", srcs = ["tf_datatype.cc"], hdrs = ["tf_datatype.h"], copts = tf_copts(), visibility = ["//visibility:public"], deps = [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) -
tensorflow/c/eager/c_api.cc
tsl::profiler::TraceMeLevel::kInfo); if (h) { tensorflow::unwrap(h)->Unref(); } } TF_DataType TFE_TensorHandleDataType(TFE_TensorHandle* h) { return static_cast<TF_DataType>(tensorflow::unwrap(h)->DataType()); } int TFE_TensorHandleNumDims(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) {
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Fri Nov 07 05:55:21 GMT 2025 - 43.9K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
int TF_CheckpointReaderSize(TF_CheckpointReader* reader) { return reader->variable_list.size(); } TF_DataType TF_CheckpointReaderGetVariableDataType(TF_CheckpointReader* reader, const char* name) { const auto& m = reader->GetVariableToDataTypeMap(); return static_cast<TF_DataType>(m.at(name)); } TF_Tensor* TF_CheckpointReaderGetTensor(TF_CheckpointReader* reader,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(TF_FLOAT, static_cast<TF_DataType>(tensorflow::DT_FLOAT)); EXPECT_EQ(TF_DOUBLE, static_cast<TF_DataType>(tensorflow::DT_DOUBLE)); EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32)); EXPECT_EQ(TF_UINT8, static_cast<TF_DataType>(tensorflow::DT_UINT8)); EXPECT_EQ(TF_INT16, static_cast<TF_DataType>(tensorflow::DT_INT16)); EXPECT_EQ(TF_INT8, static_cast<TF_DataType>(tensorflow::DT_INT8));
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_test_util.cc
// one cannot call ASSERT_* methods in non-void-returning functions (when // exceptions are disabled during compilation) void PlaceholderHelper(TF_Graph* graph, TF_Status* s, const char* name, TF_DataType dtype, const std::vector<int64_t>& dims, TF_Operation** op) { TF_OperationDescription* desc = TF_NewOperation(graph, "Placeholder", name); TF_SetAttrType(desc, "dtype", dtype);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 17.8K bytes - Click Count (1) -
tensorflow/c/c_api_internal.h
const int64_t** shapes, const int* ranks, const TF_DataType* types, TF_Status* status); void RecordMutation(TF_Graph* graph, const TF_Operation& op, const char* mutation_type)Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 7.5K bytes - Click Count (0) -
tensorflow/c/c_api.cc
} void TF_SetAttrType(TF_OperationDescription* desc, const char* attr_name, TF_DataType value) { desc->node_builder.Attr(attr_name, static_cast<DataType>(value)); } void TF_SetAttrTypeList(TF_OperationDescription* desc, const char* attr_name, const TF_DataType* values, int num_values) { desc->node_builder.Attr( attr_name, ArraySlice<const DataType>(
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 102.4K bytes - Click Count (0) -
ci/official/utilities/repack_libtensorflow.sh
cp bazel-bin/tensorflow/tensorflow.lib ${LIB_PKG}/lib/tensorflow.lib 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 \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/eager/c_api_unified_experimental_graph.cc
#include "tensorflow/c/eager/c_api_unified_experimental.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h" #include "tensorflow/c/eager/graph_function.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_status_helper.h" #include "xla/tsl/c/tsl_status_internal.h" #include "tensorflow/core/framework/full_type.pb.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat May 31 07:13:41 GMT 2025 - 15.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api_test_util.cc
#include <memory> #include <string> #include <vector> #include "tensorflow/c/eager/c_api.h" #include "tensorflow/c/eager/c_api_experimental.h" #include "tensorflow/c/eager/c_api_internal.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/strcat.h" #include "tensorflow/core/platform/test.h" #include "tensorflow/core/platform/tstring.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 23.4K bytes - Click Count (0)