Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for carlet (0.16 sec)

  1. tensorflow/c/eager/c_api.h

    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  2. tensorflow/c/c_test.c

    // A create function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jan 15 17:51:26 GMT 2020
    - 2.8K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_distributed_manager.h

      virtual Status InitializeLocalOnlyContext(const ServerDef& server_def,
                                                int keep_alive_secs) = 0;
    
      // Set up a multi-client distributed execution environment. Must be called
      // on all tasks in the cluster. This call internally coordinates with other
      // tasks to initialize the eager context and TF server for multi-client
      // execution.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      Cleanup(Cleanup&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
      // Implicitly move-constructible from any compatible Cleanup<G>.
      // The source will be released as if src.release() were called.
      // A moved-from Cleanup can be safely destroyed or reassigned.
      template <typename G>
      Cleanup(Cleanup<G>&& src)  // NOLINT
          : released_(src.is_released()), f_(src.release()) {}
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

      // Method to copy a tensor from the custom device to a target device.
      TFE_TensorHandle* (*copy_tensor_from_device)(TFE_Context* context,
                                                   TFE_TensorHandle* tensor,
                                                   const char* target_device_name,
                                                   TF_Status* status,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
            update_docs_called(false) {
      }
    
    #if !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      tensorflow::ApiDefMap api_def_map TF_GUARDED_BY(lock);
    #endif  // !defined(IS_MOBILE_PLATFORM) && !defined(IS_SLIM_BUILD)
      bool update_docs_called TF_GUARDED_BY(lock);
      tensorflow::mutex lock;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  7. tensorflow/c/checkpoint_reader.h

                     TF_Status* out_status) const;
    
     private:
      // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type"
      // maps; both owned by caller.
      // REQUIRES: "v2_reader_ != nullptr && v2_reader_.status().ok()".
      std::pair<std::unique_ptr<TensorSliceReader::VarToShapeMap>,
                std::unique_ptr<TensorSliceReader::VarToDataTypeMap> >
      BuildV2VarMaps();
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  8. tensorflow/c/eager/immediate_execution_tensor_handle.h

      //
      // For example some tensor handles may represent distributed values, in which
      // case placement information is lost when resolving the handle.
      //
      // If false, a caller might implement pretty-printing by resolving and
      // iterating over the resulting tensor. This may still be viable if resolving
      // the handle loses information, but `SummarizeValue` would be more precise.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // before `StartExecute` is called again. Using `StartExecute` with `Join`
      // allows the caller to schedule computation on multiple ParallelDevices
      // 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
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. tensorflow/c/c_api.h

    // Set the target in TF_SessionOptions.options.
    // target can be empty, a single entry, or a comma separated list of entries.
    // Each entry is in one of the following formats :
    // "local"
    // ip:port
    // host:port
    TF_CAPI_EXPORT extern void TF_SetTarget(TF_SessionOptions* options,
                                            const char* target);
    
    // Set the config in TF_SessionOptions.options.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
Back to top