Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for error (0.16 sec)

  1. tensorflow/c/c_api.h

    //   and these structs are allocated/deallocated via the API.
    // * TF_Status holds error information.  It is an object type
    //   and therefore is passed around as a pointer to an opaque
    //   struct as mentioned above.
    // * Every call that has a TF_Status* argument clears it on success
    //   and fills it with error info on failure.
    // * unsigned char is used for booleans (instead of the 'bool' type).
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  2. src/cmd/cgo/internal/test/issue20266/issue20266.h

    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #define issue20266 20266
    
    #ifndef def20266
    #error "expected def20266 to be defined"
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 251 bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental.h

                                                        TF_Status* status);
    
    // Report error (specified by error_code and error_message) to other tasks in
    // the cluster.
    TF_CAPI_EXPORT extern void TFE_ReportErrorToCluster(TFE_Context* ctx,
                                                        int error_code,
                                                        const char* error_message,
                                                        TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/tape.h

        // backward function under a gradient tape.
        forward_grads.resize(output_tensors.size());
        TF_RETURN_IF_ERROR(ForwardpropFromTape(
            op_type, output_tensors, backward_function_getter,
            backward_function_deleter, in_grads, absl::MakeSpan(forward_grads)));
      } else {
        TF_RETURN_IF_ERROR(
            (*forward_function)(in_grads, &forward_grads, use_batch_));
      }
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  5. tensorflow/c/eager/unified_api_testutil.h

      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
          TF_ExecutionContextGetTFEContext(wrap(ctx), status.get());
      TF_RETURN_IF_ERROR(StatusFromTF_Status(status.get()));
      TFE_TensorHandle* input_eager =
          TestTensorHandleWithDims<T, datatype>(eager_ctx, data, dims, num_dims);
      *tensor =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/next_pluggable_device/c_api.h

    // Obtains key-value from coordination service agent. The returned `TF_Buffer`
    // is a newly allocated buffer to hold the string key-value, and caller is
    // responsible for managing the lifetime. If error, `status` will be set and a
    // nullptr will be returned.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CoordinationServiceGetKeyValue(
        const char* key, int64_t key_size, TF_CoordinationServiceAgent* agent,
        TF_Status* status);
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  7. tensorflow/c/eager/immediate_execution_context.h

      // Block until all pending nodes are finished.
      virtual Status AsyncWait() = 0;
    
      // Add a function (serialized FunctionDef protocol buffer) so that it can
      // be executed as an op. Return error if the function with the same name
      // already exists.
      virtual Status AddFunctionDef(const FunctionDef& fdef) = 0;
    
      // Notifies about the function removal.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
Back to top