Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for locate (0.21 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device.h

    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    
    namespace tensorflow {
    namespace parallel_device {
    
    // Allocate a parallel device named `device_name` which forwards operations to
    // `underlying_devices`, maintaining "parallel tensors" with components placed
    // on each underlying device.
    //
    // For example if `device_name` is
    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)
  2. tensorflow/c/env.h

    // \brief Get a pointer to a symbol from a dynamic library.
    //
    // "handle" should be a pointer returned from a previous call to
    // TF_LoadLibraryFromEnv. On success, place OK in status and return a pointer to
    // the located symbol. Otherwise returns nullptr and set error status.
    TF_CAPI_EXPORT extern void* TF_GetSymbolFromLibrary(void* handle,
                                                        const char* symbol_name,
    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)
  3. tensorflow/c/c_api.h

    // Call once per control input to `desc`.
    TF_CAPI_EXPORT extern void TF_AddControlInput(TF_OperationDescription* desc,
                                                  TF_Operation* input);
    
    // Request that `desc` be co-located on the device where `op`
    // is placed.
    //
    // Use of this is discouraged since the implementation of device placement is
    // subject to change. Primarily intended for internal libraries
    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)
  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/tape.h

            backward_function_getter, backward_function_deleter);
        return absl::OkStatus();
      }
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return absl::OkStatus();
      }
    
      // We may need to allocate zero inputs for trainable dtypes we don't have JVPs
      // for. Make sure they get cleaned up.
      std::vector<Gradient*> new_zeros;
      auto delete_new_zeros = gtl::MakeCleanup([&new_zeros, this] {
    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)
  6. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Function* TFE_ContextGetFunction(TFE_Context* ctx,
                                                              const char* name,
                                                              TF_Status* status);
    
    // Allocate and return a new Tensor on the host.
    //
    // The caller must set the Tensor values by writing them to the pointer returned
    // by TF_TensorData with length TF_TensorByteSize.
    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)
  7. tensorflow/c/experimental/filesystem/modular_filesystem.h

            read_only_memory_region_ops_(std::move(read_only_memory_region_ops)),
            plugin_memory_allocate_(std::move(plugin_memory_allocate)),
            plugin_memory_free_(std::move(plugin_memory_free)) {}
    
      ~ModularFileSystem() override { ops_->cleanup(filesystem_.get()); }
    
      TF_USE_FILESYSTEM_METHODS_WITH_NO_TRANSACTION_SUPPORT;
    
      Status NewRandomAccessFile(
    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)
  8. src/cmd/cgo/internal/test/callback_c_gc.c

    #include <stdio.h>
    #include <stdlib.h>
    
    /* Test calling panic from C.  This is what SWIG does.  */
    
    extern void crosscall2(void (*fn)(void *, int), void *, int);
    extern void _cgo_panic(void *, int);
    extern void _cgo_allocate(void *, int);
    
    void
    callPanic(void)
    {
    	struct { const char *p; } a;
    	a.p = "panic from C";
    	crosscall2(_cgo_panic, &a, sizeof a);
    	*(int*)1 = 1;
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 592 bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/filesystem_interface.h

    ///
    /// Every URI scheme is of the form "fs" for URIs of form "fs:///path/to/file".
    /// For local filesystems (i.e., when the URI is "/path/to/file"), the scheme
    /// must be "". The scheme must never be `nullptr`.
    ///
    /// Every plugin fills this in `TF_InitPlugin`, using the alocator passed as
    /// argument to allocate memory. After `TF_InitPlugin` finishes, core
    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)
Back to top