Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for void (0.14 sec)

  1. tensorflow/c/eager/c_api_experimental.h

        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
    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)
  2. tensorflow/c/experimental/grappler/grappler.h

      size_t struct_size;
      void* ext;  // reserved for future use
    
      // [Optional]
      // Create function for optimizer.
      void* (*create_func)();
    
      // Optimizer function for optimizer. The first param is an optimizer created
      // by create_func. The second param is input graph. The third param is
      // GrapplerItem. The fourth param is output graph.
      void (*optimize_func)(void*, const TF_Buffer*, const TF_GrapplerItem*,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental.h

    TF_AbstractOp* TF_NewAbstractOp(TF_ExecutionContext* ctx);
    void TF_DeleteAbstractOp(TF_AbstractOp*);
    
    // TODO(srbs): Add APIs for specifying attrs etc.
    // `op_type` must outlive `op`.
    void TF_AbstractOpSetOpType(TF_AbstractOp* op, const char* const op_type,
                                TF_Status* s);
    // `op_name` must outlive `op`.
    void TF_AbstractOpSetOpName(TF_AbstractOp* op, const char* const op_name,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/callback_c_gccgo.c

    //go:build gccgo
    
    #include "_cgo_export.h"
    #include <stdint.h>
    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void _cgo_panic(const char *);
    extern void *_cgo_allocate(size_t);
    
    void
    callPanic(void)
    {
    	_cgo_panic("panic from C");
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_operation.h

      // Set stack trace to be used for potential async error reporting.
      virtual void SetStackTrace(ManagedStackTrace stack_trace) = 0;
    
      virtual const tensorflow::AbstractOpAttrs* GetOpAttrs() const = 0;
      virtual void AddAttrs(const AbstractOpAttrs* op_attrs) = 0;
    
      virtual void SetCancellationManager(
          CancellationManager* cancellation_manager) = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

        return LookupLocked(key, value);
      }
    
      typedef std::function<void(const std::string&, T*, TF_Status*)> ComputeFunc;
    
      /// Look up the entry with key `key` and copy it to `value` if found. If not
      /// found, call `compute_func`. If `compute_func` set `status` to `TF_OK`,
      /// store a copy of the output parameter in the cache, and another copy in
      /// `value`.
      void LookupOrCompute(const std::string& key, T* value,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.h

    namespace tf_writable_file {
    void Cleanup(TF_WritableFile* file);
    void Append(const TF_WritableFile* file, const char* buffer, size_t n,
                TF_Status* status);
    int64_t Tell(const TF_WritableFile* file, TF_Status* status);
    void Flush(const TF_WritableFile* file, TF_Status* status);
    void Sync(const TF_WritableFile* file, TF_Status* status);
    void Close(const TF_WritableFile* file, TF_Status* status);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  8. tensorflow/c/env.h

                                                    const char* thread_name,
                                                    void (*work_func)(void*),
                                                    void* param);
    
    // Waits for the given thread to finish execution, then deletes it.
    TF_CAPI_EXPORT extern void TF_JoinThread(TF_Thread* thread);
    
    // \brief Load a dynamic library.
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.h

    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_OperationGetAttrStringList(
        TF_Operation* oper, const char* attr_name, void** values, size_t* lengths,
        int max_values, void* storage, size_t storage_size, TF_Status* status);
    
    TF_CAPI_EXPORT extern void TF_OperationGetAttrInt(TF_Operation* oper,
                                                      const char* attr_name,
    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)
  10. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // `status` checked.
      void Destroy(TFE_Context* context, TF_Status* status);
    
      // Reads from the variable.
      TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
      // Assigns a new value to the variable.
      void Assign(TFE_Context* context, TFE_TensorHandle* value, TF_Status* status);
      // Adds `value` to the existing value of the variable.
      void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
Back to top