Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for TF_DataType (0.31 sec)

  1. tensorflow/c/eager/dlpack.cc

          break;
        case TF_DataType::TF_INT8:
        case TF_DataType::TF_INT16:
        case TF_DataType::TF_INT32:
        case TF_DataType::TF_INT64:
          dtype.code = DLDataTypeCode::kDLInt;
          break;
        case TF_DataType::TF_UINT8:
        case TF_DataType::TF_UINT16:
        case TF_DataType::TF_UINT32:
        case TF_DataType::TF_UINT64:
          dtype.code = DLDataTypeCode::kDLUInt;
          break;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  2. 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 = [
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // separate static method which returns a status.
      Variable(TFE_TensorHandle* handle, TF_DataType type)
          : handle_(handle), type_(type) {}
    
      // Helper for constructing a resource handle and wrapping it in a `Variable`
      // object.
      static Variable* Create(TFE_Context* context, TF_DataType type,
                              const int64_t* dims, const int num_dims,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.h

                     absl::Span<const int64_t> shape, const TF_DataType dtype)
          : device_(device),
            tensors_(std::move(tensors)),
            shape_(std::vector<int64_t>(shape.begin(), shape.end())),
            dtype_(dtype) {}
      ParallelTensor(const ParallelDevice& device,
                     std::vector<TensorHandlePtr> tensors, const TF_DataType dtype)
          : device_(device),
            tensors_(std::move(tensors)),
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. 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);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_unified_experimental.h

    #ifndef TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_H_
    #define TENSORFLOW_C_EAGER_C_API_UNIFIED_EXPERIMENTAL_H_
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // =============================================================================
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_unified_experimental.cc

    #include <vector>
    
    #include "absl/container/flat_hash_map.h"
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_helper.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/llvm_rtti/llvm_rtti.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_test_util.h

    #define TENSORFLOW_C_EAGER_C_API_TEST_UTIL_H_
    
    #include <vector>
    
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/tstring.h"
    #include "tensorflow/core/platform/types.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  9. tensorflow/c/eager/unified_api_testutil.h

    Status BuildImmediateExecutionContext(bool use_tfrt, AbstractContext** ctx);
    
    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  10. 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));
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top