Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Methods (0.17 sec)

  1. tensorflow/c/eager/immediate_execution_operation.h

          const = 0;
      virtual Status SetInput(size_t index,
                              ImmediateExecutionTensorHandle* input) = 0;
    
      virtual ImmediateExecutionContext* GetContext() const = 0;
    
      // Following two methods are used to support custom device.
      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental.h

      int version = TFE_CUSTOM_DEVICE_VERSION;
      // Method to copy a tensor to the custom device.
      TFE_TensorHandle* (*copy_tensor_to_device)(TFE_Context* context,
                                                 TFE_TensorHandle* tensor,
                                                 TF_Status* status,
                                                 void* device_info);
    
      // Method to copy a tensor from the custom device to a target device.
    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)
  3. tensorflow/c/c_api_experimental.h

                                                         const TF_DataType* values,
                                                         int num_values);
    
    // Checks the tensorflow::NodeDef built via the methods above to see if it can
    // run on device_type.
    TF_CAPI_EXPORT extern void TF_AttrBuilderCheckCanRunOnDevice(
        TF_AttrBuilder* builder, const char* device_type, TF_Status* status);
    
    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)
  4. tensorflow/c/c_api.h

    //
    // We expose this here to allow fine-grained synchronization in multi-threaded
    // workloads, which is required since the Python implementation depends on the
    // above mutation methods. This allows us to prevent modifications to nodes in
    // the graph after the session has been made aware of them.
    TF_CAPI_EXPORT extern void TF_ExtendSession(TF_Session* session,
    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)
  5. tensorflow/c/experimental/filesystem/modular_filesystem.h

    /// the names will lose the `Modular` part. Until that point, the `Modular*`
    /// classes here are experimental and subject to breaking changes.
    /// For documentation on these methods, consult `core/platform/filesystem.h`.
    
    namespace tensorflow {
    
    // TODO(b/143949615): After all filesystems are converted, this file will be
    // moved to core/platform, and this class can become a singleton and replace the
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

    #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
    
    TFE_TensorHandle* TFE_NewTensorHandle(const tensorflow::Tensor& t,
                                          TF_Status* status);
    #endif
    
    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)
  7. tensorflow/c/eager/tape.h

            : backward_tape(backward_tape), accumulating(accumulating) {}
        // Set temporarily while in the Accumulate method; if backward_tape is not
        // nullptr then we forward op executions to it so Accumulate can compute a
        // backward pass on its backward function.
        //
        // Not owned by the ForwardAccumulator. The method which sets
        // `backward_tape` keeps ownership.
    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)
  8. tensorflow/c/experimental/filesystem/filesystem_interface.h

      /// implemented by a filesystem registered to handle the `fs://` scheme.
      ///
      /// A new `char*` buffer must be allocated by this method. Core TensorFlow
      /// manages the lifetime of the buffer after the call. Thus, all callers of
      /// this method must take ownership of the returned pointer.
      ///
      /// The implementation should clean up paths, including but not limited to,
      /// removing duplicate `/`s, and resolving `..` and `.`.
      ///
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

      tensorflow::Session* session;
      TF_Graph* const graph;
    
      tensorflow::mutex mu TF_ACQUIRED_AFTER(TF_Graph::mu);
      int last_num_graph_nodes;
    
      // If true, TF_SessionRun and similar methods will call
      // ExtendSessionGraphHelper before running the graph (this is the default
      // public behavior). Can be set to false if the caller needs to call
      // ExtendSessionGraphHelper manually.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_context.h

      // Configure graph collection in RunMetadata.
      virtual void SetShouldStoreGraphs(bool value) = 0;
    
      // Return the collected RunMetadata. This method will transfer the ownership
      // to the caller.
      virtual std::unique_ptr<RunMetadata> ExportRunMetadata() = 0;
    
      // For LLVM style RTTI.
      static bool classof(const AbstractContext* ptr) {
    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