Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for reinterpret (0.19 sec)

  1. tensorflow/c/conversion_macros.h

        return reinterpret_cast<cpp_impl *>(w);                                    \
      }                                                                            \
                                                                                   \
      inline const cpp_impl *unwrap(const wrapper *w) {                            \
        return reinterpret_cast<const cpp_impl *>(w);                              \
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon May 04 16:24:03 GMT 2020
    - 1.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

            TF_NewTensor(
                datatype_enum, /*dims=*/nullptr, /*num_dims=*/0,
                device_value.release(), sizeof(DataType),
                [](void* data, size_t, void* arg) {
                  delete reinterpret_cast<DataType*>(data);
                },
                nullptr),
            TF_DeleteTensor);
        // TODO(allenl): Here and when executing regular operations, we could hold
    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)
  3. tensorflow/c/eager/abstract_operation.h

      lengths.reserve(values.size());
      for (const auto& s : values) {
        raw_strs.emplace_back(s.data());
        lengths.emplace_back(s.size());
      }
      return SetAttrStringList(attr_name,
                               reinterpret_cast<const void**>(raw_strs.data()),
                               lengths.data(), values.size());
    }
    
    namespace internal {
    struct AbstractOperationDeleter {
      void operator()(AbstractOperation* p) const {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
Back to top