Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for talking (0.33 sec)

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

                   tensorflow::uint64 send_device_incarnation);
    
    // Return a 1-D INT32 tensor containing a single value 1.
    TFE_TensorHandle* TestAxisTensorHandle(TFE_Context* ctx);
    
    // Return an op taking minimum of `input` long `axis` dimension.
    TFE_Op* MinOp(TFE_Context* ctx, TFE_TensorHandle* input,
                  TFE_TensorHandle* axis);
    
    // If there is a device of type `device_type`, returns true
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Jul 17 23:43:59 GMT 2023
    - 7.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      static Variable* Create(TFE_Context* context, TF_DataType type,
                              const int64_t* dims, const int num_dims,
                              const char* device, TF_Status* status);
      // Dereferences the backing buffer for the variable. Note that since this can
      // fail (it runs operations), it must be called explicitly and the resulting
      // `status` checked.
      void Destroy(TFE_Context* context, TF_Status* status);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 09 01:12:35 GMT 2021
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api.h

    // 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.
    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    // Ends a step. When there is no active step (that is, every started step has
    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)
  5. tensorflow/c/eager/tape.h

      // Tell the forward accumulator to watch tensor_id, with a Tensor tangent
      // vector `tangent` of matching shape and dtype. Tangents are the "vector" in
      // "Jacobian-vector product"; `Watch`ing a new Tensor and immediately calling
      // FetchJVP for it would return `tangent`.
      void Watch(int64_t tensor_id, Gradient* tangent);
    
      // Removes the gradient associated with tensor_id. Should be called when the
    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/c_api_experimental.h

    //     in `input_shapes`.
    //
    // The results are returned in `output_shapes` and
    // `output_resource_shapes_and_types`. The caller is responsible for freeing the
    // memory in these buffers by calling `TF_DeleteShapeAndTypeList`.
    TF_CAPI_EXPORT extern void TFE_InferShapes(
        TFE_Op* op, TF_ShapeAndTypeList* input_shapes, TF_Tensor** input_tensors,
        TF_ShapeAndTypeList* input_tensor_as_shapes,
    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)
  7. src/cmd/cgo/internal/test/callback_c_gccgo.c

    // license that can be found in the LICENSE file.
    
    //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)
  8. src/cmd/cgo/internal/test/issue20910.c

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #include <assert.h>
    #include <stdlib.h>
    #include <string.h>
    #include "_cgo_export.h"
    
    /* Test calling a Go function with multiple return values.  */
    
    void
    callMulti(void)
    {
    	struct multi_return result = multi();
    	assert(strcmp(result.r0, "multi") == 0);
    	assert(result.r1 == 0);
    	free(result.r0);
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 459 bytes
    - Viewed (0)
  9. tensorflow/c/c_api_internal.h

      // ExtendSessionGraphHelper manually.
      std::atomic<bool> extend_before_run;
    };
    
    struct TF_ImportGraphDefOptions {
      tensorflow::ImportGraphDefOptions opts;
    
      // Backing memory for TensorId fields in opts.
      // TODO(skyewm): it'd be better if ImportGraphDefOptions owned this.
      std::vector<tensorflow::string> tensor_id_data;
    };
    
    struct TF_ImportGraphDefResults {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat May 13 00:49:12 GMT 2023
    - 7.6K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental.h

    // TFE_ExecutorWaitForAllPendingNodes before calling this API if you want to
    // make sure all nodes are finished.
    TF_CAPI_EXPORT extern void TFE_DeleteExecutor(TFE_Executor*);
    
    // Returns true if the executor is in async mode.
    TF_CAPI_EXPORT extern bool TFE_ExecutorIsAsync(TFE_Executor*);
    
    // Causes the calling thread to block till all ops dispatched in this executor
    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)
Back to top