Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for reinterpret (0.26 sec)

  1. tensorflow/c/env.cc

      ::tensorflow::Set_TF_Status_from_Status(status, s);
    
      if (s.ok()) {
        *handle = reinterpret_cast<TF_WritableFileHandle*>(f.release());
      }
    }
    
    void TF_CloseWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Close());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/c/eager/custom_device_testutil.cc

      return TFE_TensorHandleDim(reinterpret_cast<LoggedTensor*>(data)->tensor,
                                 dim_index, status);
    }
    
    int LoggedTensorNumDims(void* data, TF_Status* status) {
      return TFE_TensorHandleNumDims(reinterpret_cast<LoggedTensor*>(data)->tensor,
                                     status);
    }
    
    void LoggedTensorDeallocator(void* data) {
      delete reinterpret_cast<LoggedTensor*>(data);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_unified_experimental_eager.cc

                                                      TF_Status* s) {
      auto handle = dyn_cast<ImmediateExecutionTensorHandle>(unwrap(at));
      if (!handle) {
        string msg =
            StrCat("Not an eager tensor handle.", reinterpret_cast<uintptr_t>(at));
        TF_SetStatus(s, TF_INVALID_ARGUMENT, msg.c_str());
        return nullptr;
      }
      return wrap(handle);
    }
    
    TFE_Context* TF_ExecutionContextGetTFEContext(TF_ExecutionContext* ctx,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jun 25 04:40:46 GMT 2020
    - 3.2K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.cc

      }
      tensorflow::PartialTensorShape partial_shape;
      if (shape.num_dims != -1) {
        DCHECK(shape.dim_sizes != nullptr);
        Status status = tensorflow::PartialTensorShape::MakePartialShape(
            reinterpret_cast<int64_t*>(shape.dim_sizes), shape.num_dims,
            &partial_shape);
        if (!status.ok()) {
          tsl::Set_TF_Status_from_Status(s, status);
          return nullptr;
        }
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/experimental/gradients/tape/tape_operation.cc

                                         const int64_t* values, int num_values) {
      forward_op_.attrs.Set(
          attr_name, gtl::ArraySlice<const int64_t>(
                         reinterpret_cast<const int64_t*>(values), num_values));
      return parent_op_->SetAttrIntList(attr_name, values, num_values);
    }
    Status TapeOperation::SetAttrTypeList(const char* attr_name,
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jun 07 01:53:35 GMT 2022
    - 9K bytes
    - Viewed (1)
  8. android/guava/src/com/google/common/primitives/ParseRequest.java

     * the License.
     */
    
    package com.google.common.primitives;
    
    import com.google.common.annotations.GwtCompatible;
    
    /** A string to be parsed as a number and the radix to interpret it in. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class ParseRequest {
      final String rawValue;
      final int radix;
    
      private ParseRequest(String rawValue, int radix) {
        this.rawValue = rawValue;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:09:25 GMT 2021
    - 1.7K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/discovery/v1/generated.proto

    message EndpointConditions {
      // ready indicates that this endpoint is prepared to receive traffic,
      // according to whatever system is managing the endpoint. A nil value
      // indicates an unknown state. In most cases consumers should interpret this
      // unknown state as ready. For compatibility reasons, ready should never be
      // "true" for terminating endpoints, except when the normal readiness
      // behavior is being explicitly overridden, for example when the associated
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/PluginValidationManager.java

             * <p>
             * Note: if a reactor build contains a plugin (with issues) and later that built plugin is used in build,
             * it will be reported as "external". It is up to developer to correctly interpret output (GAV) of issues
             * and realize that in this case he wears two hats:" "user" and "(plugin) developer".
             */
            EXTERNAL
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri May 26 16:22:12 GMT 2023
    - 3.4K bytes
    - Viewed (0)
Back to top