Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Home (0.16 sec)

  1. tensorflow/c/eager/abstract_context.h

    // registering traced functions.
    // Operations creation within a context can only be executed in that context
    // (for now at least).
    // Implementations of the context may contain some state e.g. an execution
    // environment, a traced representation etc.
    class AbstractContext {
     protected:
      enum AbstractContextKind { kGraph, kMlir, kEager, kTfrt, kTape, kOpHandler };
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/env.h

    //
    // Typical status codes:
    //  * TF_OK - dirname exists and we were able to delete everything underneath
    //  * TF_NOT_FOUND - dirname doesn't exist
    //  * TF_PERMISSION_DENIED - dirname or some descendant is not writable
    //  * TF_UNIMPLEMENTED - some underlying functions (like Delete) are not
    //    implemented
    TF_CAPI_EXPORT extern void TF_DeleteRecursively(const char* dirname,
    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/eager/parallel_device/parallel_device_lib.h

      // 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
      // `StartExecute`s will deadlock).
      //
      // If `is_async=false` (constructor argument), `cancellation_manager` must
    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)
  4. tensorflow/c/c_api.h

    //   materialized in the address space of the calling process.
    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    // * Backing store for tensor memory has an associated deallocation
    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. src/cmd/cgo/internal/test/callback_c.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <string.h>
    
    #include "_cgo_export.h"
    
    void
    callback(void *f)
    {
    	// use some stack space
    	volatile char data[64*1024];
    
    	data[0] = 0;
    	goCallback(f);
            data[sizeof(data)-1] = 0;
    }
    
    void
    callGoFoo(void)
    {
    	extern void goFoo(void);
    	goFoo();
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

                                                            TF_Buffer* buf,
                                                            TF_Status* status);
    
    // Some TF ops need a step container to be set to limit the lifetime of some
    // resources (mostly TensorArray and Stack, used in while loop gradients in
    // graph mode). Calling this on a context tells it to start a step.
    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/experimental/filesystem/plugins/posix/posix_filesystem.h

    // file, since the plugin registration will look for the symbol in the DSO file
    // that provides the filesystem functionality. However, the POSIX filesystem
    // needs to be statically registered in some tests and utilities for building
    // the API files at the time of creating the pip package. Hence, we need to
    // expose this function so that this filesystem can be statically registered
    // when needed.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 20 16:42:12 GMT 2020
    - 1.5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/tape.h

          (*result)[id].push_back(output_gradients[i]);
        }
      }
      return absl::OkStatus();
    }
    
    // TODO(agarwal): use an automatic mechanism for handling None arguments to
    // gradient functions.
    //
    // Some gradient functions can accept None arguments for gradients. The
    // following maps the operation name to the indices at which the corresponding
    // gradient function can accept None values. e.g. FusedBatchNorm outputs 5
    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)
  9. 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.
    //
    // Do not return const char*, because some foreign language binding
    // (e.g. swift) cannot then call free() on the returned pointer.
    TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func,
                                                       size_t* len);
    
    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)
  10. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor,
                               TF_Status*);
    
    // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe
    // capture some inputs and then add a node in the graph. The output tensors are
    // returned through the provided TF_OutputList.
    // Any active tape will observe the effects of this execution.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
Back to top