Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for TF_DataType (0.06 sec)

  1. 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 = [
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  2. 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));
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  3. 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,
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Mon Aug 18 03:53:25 UTC 2025
    - 29.5K bytes
    - Viewed (0)
  4. 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 \
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:25:18 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  5. 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>(
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.h

                                              const char* attr_name,
                                              TF_DataType value);
    TF_CAPI_EXPORT extern void TF_SetAttrTypeList(TF_OperationDescription* desc,
                                                  const char* attr_name,
                                                  const TF_DataType* values,
                                                  int num_values);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top