Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TF_DataType (0.04 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Sun Dec 07 13:04:09 UTC 2025
    - 30.4K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_experimental.h

                                                     TF_DataType value);
    TF_CAPI_EXPORT extern void TF_AttrBuilderSetTypeList(TF_AttrBuilder* builder,
                                                         const char* attr_name,
                                                         const TF_DataType* values,
                                                         int num_values);
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  3. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Mon Nov 17 00:00:38 UTC 2025
    - 97K bytes
    - Viewed (0)
  4. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  5. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Fri Jan 17 16:25:18 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  6. tensorflow/c/c_test.c

    #include "tensorflow/c/env.h"
    #include "tensorflow/c/kernels.h"
    
    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  7. 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)
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat May 13 00:49:12 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. 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);
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 17.8K bytes
    - Viewed (1)
  9. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Sat Oct 04 05:55:32 UTC 2025
    - 102.4K bytes
    - Viewed (0)
  10. 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 Dec 30 12:39:10 UTC 2025
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
Back to top