Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for failure (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    }  // namespace tf_posix_filesystem
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.h

    //   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).
    //   In C++ bool is a keyword while in C99 bool is a macro defined
    //   in stdbool.h. It is possible for the two to be inconsistent.
    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)
  3. tensorflow/c/env.h

    // on the implementation.
    TF_CAPI_EXPORT extern void TF_FlushWritableFile(TF_WritableFileHandle* handle,
                                                    TF_Status* status);
    
    // Appends the given bytes to the file. Any failure to do so is indicated in
    // status.
    TF_CAPI_EXPORT extern void TF_AppendWritableFile(TF_WritableFileHandle* handle,
                                                     const char* data,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.h

    //
    // This is intended to be used when a peer failure is detected.
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status);
    
    // Checks the health of collective ops peers. Explicit health check is needed in
    // multi worker collective ops to detect failures in the cluster.  If a peer is
    // down, collective ops may hang.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.h

    // -----------------------------------------------------------------------------
    // APIs specific to Eager modes
    // -----------------------------------------------------------------------------
    
    // Temporary APIs till we figure out how to create scalar valued Eager
    // tensors and how to get value out of eager abstract tensors.
    TF_AbstractTensor* TF_CreateAbstractTensorFromEagerTensor(TFE_TensorHandle* t,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  6. tensorflow/c/c_op_requires.h

        ::tensorflow::Status _s(__VA_ARGS__);                         \
        if (!TF_PREDICT_TRUE(_s.ok())) {                              \
          ::tensorflow::Set_TF_Status_from_Status(C_STATUS, _s);      \
          TF_OpKernelContext_Failure(CTX, C_STATUS);                  \
          TF_DeleteStatus(C_STATUS);                                  \
          return;                                                     \
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Aug 02 21:35:06 GMT 2022
    - 2.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.h

        TFE_TensorHandle* h, TF_Status* status);
    
    // Return a pointer to a new TFE_TensorHandle that shares the underlying tensor
    // with `h`. On success, `status` is set to OK. On failure, `status` reflects
    // the error and a nullptr is returned.
    TF_CAPI_EXPORT extern TFE_TensorHandle* TFE_TensorHandleCopySharingTensor(
        TFE_TensorHandle* h, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  8. tensorflow/c/eager/tape.h

          // Note: Needs to be zeros rather than ones since there's currently no
          // ones_like for variants.
          aid = output_tensor.ZerosLike();
        } else {
          // TODO(allenl): Figure out why using zeros_like everywhere causes issues
          // for some gradient functions and if there's another way to work around
          // it (e.g. conds instead of ifs). The value shouldn't really matter.
    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)
  9. tensorflow/c/eager/gradients.h

      Status Lookup(const ForwardOperation& op,
                    std::unique_ptr<GradientFunction>* gradient_function) const;
    
     private:
      absl::flat_hash_map<string, GradientFunctionFactory> registry_;
    };
    
    // TODO(srbs): Figure out if we can avoid declaring this in the public header.
    // Wrapper for a tensor output of an operation executing under a tape.
    //
    // `GetID` returns a unique id for the wrapped tensor which is used to maintain
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 10:27:05 GMT 2022
    - 6.9K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_context.h

      virtual void ResetGlobalRendezvousForFunction() = 0;
    
      //===--------------------------------------------------------------------===//
      // Following are features in current TF Eager Runtime.
      // TODO(tfrt-devs): Figure out a way to deprecate following features after
      // migrated to TFRT.
      //===--------------------------------------------------------------------===//
      // Clear pending nodes in thread executors and kernel caches.
    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