Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for from (0.14 sec)

  1. 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)
  2. tensorflow/c/eager/c_api_experimental.h

                                           TF_Status* status);
    
    // Enables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx);
    
    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(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)
  3. tensorflow/c/experimental/grappler/grappler.h

    // must point to an array of length at least `num_values`.
    //
    // The elements of values will point to addresses in `storage` which must be at
    // least `storage_size` bytes in length.  `num_values` and `storage` can be
    // obtained from TF_GetNodesToPreserveSize
    //
    // Fails if storage_size is too small to hold the requested number of strings.
    TF_CAPI_EXPORT extern void TF_GetNodesToPreserveList(
    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)
  4. tensorflow/c/eager/c_api_unified_experimental.h

                                  TF_DataType value, TF_Status* s);
    
    void TF_DeleteAbstractTensor(TF_AbstractTensor*);
    
    // TF_OutputList holds the list of TF_AbstractTensor that results from executing
    // an operation, or provided to create a function.
    // When executing an operation in an eager context, the expected number of
    // outputs must be set beforehand with `TF_OutputListSetNumOutputs`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      const size_t max_entries_;
    
      /// The callback to read timestamps.
      std::function<uint64_t()> timer_seconds_;
    
      /// Guards access to the cache and the LRU list.
      absl::Mutex mu_;
    
      /// The cache (a map from string key to Entry).
      std::map<std::string, Entry> cache_ ABSL_GUARDED_BY(mu_);
    
      /// The LRU list of entries. The front of the list identifies the most
      /// recently accessed entry.
    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)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // its corresponding inputs from the input ParallelTensors. Wraps the
      // resulting per-device and per-output TFE_TensorHandles into one
      // ParallelTensor per output of the original operation.
      //
      // Attributes are forwarded to executed operations unmodified.
      //
      // The returned optional has a value if and only if `status` evaluates to
      // TF_OK. Bad statuses are forwarded from underlying `TFE_Execute` calls, or
    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)
  7. tensorflow/c/eager/c_api_experimental_reader.h

    #include "tensorflow/c/eager/c_api.h"
    
    #ifdef __cplusplus
    extern "C" {
    #endif
    
    // Test only exports of the monitoring Cell Reader API which allows tests to
    // read current values from streamz counters defined in other modules.
    //
    // The code under test will have created streamz counters like this:
    // auto* streamz = tensorflow::monitoring::Counter<1>::New("name",
    // "description", "label");
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/c/env.h

    TF_CAPI_EXPORT extern void* TF_LoadSharedLibrary(const char* library_filename,
                                                     TF_Status* status);
    
    // \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.
    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

    //   control inputs). In other words, for every node in the body, each input
    //   must be either listed in `inputs` or must come from another node in
    //   the body. In particular, it is an error to have a control edge going from
    //   a node outside of the body into a node in the body. This applies to control
    //   edges going from nodes referenced in `inputs` to nodes in the body when
    //   the former nodes are not in the body (automatically skipped or not
    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

    namespace tensorflow {
    namespace parallel_device {
    
    // A helper for performing common operations on variables. A much more
    // restricted stand-in for tf.Variable in Python.
    class Variable {
     public:
      // Construct a Variable from a resource-dtype TFE_TensorHandle and an
      // indication of the dtype of the variable's value.
      //
      // Note that creating this resource-dtype handle can fail, so `Create` is a
      // separate static method which returns a status.
    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