Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for figure (0.17 sec)

  1. 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)
  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/eager/c_api.h

    #ifdef __cplusplus
    } /* end extern "C" */
    #endif
    
    #ifdef __cplusplus
    // A workaround to ease conversion to and from numpy objects and
    // TFE_TensorHandle's.
    //
    // TODO(ashankar): Figure out an alternative scheme that precludes the need for
    // these API-boundary breaking methods.
    namespace tensorflow {
    class Tensor;
    }  // namespace tensorflow
    
    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)
  4. 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)
  5. tensorflow/c/eager/parallel_device/parallel_device.h

    // an error.
    //
    // All component tensors must have the same dtype. Currently they must also have
    // the same shape, although this requirement may be relaxed in the future.
    //
    // `device_name` must not name an existing physical or custom device (see
    // the documentation for TFE_RegisterCustomDevice for more information).
    //
    // Tensors may be copied on or off the device explicitly using
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jun 04 21:49:16 GMT 2020
    - 2.9K bytes
    - Viewed (0)
  6. 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)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // without sequencing those operations (first call `StartExecute` on each
      // parallel device, then call `Join` on each; even if some of the `Join`s
      // return a bad status the caller must run all of the `Join`s or any future
      // `StartExecute`s will deadlock).
      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. tensorflow/c/c_api_experimental.h

    // `len`. The format is subject to change in the future.
    // The returned string is heap-allocated, and caller should call free() on it.
    TF_CAPI_EXPORT extern const char* TF_GraphDebugString(TF_Graph* graph,
                                                          size_t* len);
    
    // Returns the function content in a human-readable format, with length set in
    // `len`. The format is subject to change in the future.
    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)
Back to top