Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for Ehat (0.13 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern bool TFE_ExecutorIsAsync(TFE_Executor*);
    
    // Causes the calling thread to block till all ops dispatched in this executor
    // have been executed. Note that "execution" here refers to kernel execution /
    // scheduling of copies, etc. Similar to sync execution, it doesn't guarantee
    // that lower level device queues (like GPU streams) have been flushed.
    //
    // This call may not block for execution of ops enqueued concurrently with this
    // call.
    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)
  2. tensorflow/c/c_api.h

    // Get the number of operations that have `*oper` as a control input.
    // Note that this number can change when new operations are added to
    // the graph.
    TF_CAPI_EXPORT extern int TF_OperationNumControlOutputs(TF_Operation* oper);
    
    // Get the list of operations that have `*oper` as a control input.
    // `control_outputs` must point to an array of length at least
    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)
  3. tensorflow/c/eager/tape.h

            // the tape, so no gradient needs to be computed from it unless this
            // target is also a source.
            auto source_tensor = sources_that_are_targets.find(id);
            if (source_tensor != sources_that_are_targets.end()) {
              Gradient* ones_like = nullptr;
              TF_RETURN_IF_ERROR(
                  vspace.BuildOnesLike(source_tensor->second, &ones_like));
    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)
  4. src/cmd/cgo/internal/test/cthread_unix.c

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris
    
    #include <pthread.h>
    #include "_cgo_export.h"
    
    static void*
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1K bytes
    - Viewed (0)
  5. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Apr 24 20:50:35 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.h

    // need for `Env::Default()`. At that time, we might decide to remove the need
    // for `Env::Default()` altogether, but that's a different project, not in
    // scope for now. I'm just mentioning this here as that transition will mean
    // removal of the registration part from `Env` and adding it here instead: we
    // will need tables to hold for each scheme the function tables that implement
    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)
  7. tensorflow/c/eager/immediate_execution_context.h

      ImmediateExecutionOperation* CreateOperation() override = 0;
    
      // Returns whether the runtime is backed by TFRT or the legacy TF Eager
      // Runtime. This is necessary to decouple runtime-dependent
      // code that is layered on top of the runtime.
      virtual bool UsesTFRT() = 0;
    
      // List attributes of available devices
      virtual void ListDevices(std::vector<DeviceAttributes>* devices) = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/next_pluggable_device/c_api.h

        const char* device_type, TF_Status* status, PJRT_NamedValue* create_options,
        int num_options);
    
    // Resets the PjRt client for a device. After this, `TF_GetPjRtCClient` will
    // returns an error for that device.
    TF_CAPI_EXPORT extern void TF_ResetPjRtCClient(const char* device_type,
                                                   TF_Status* status);
    
    // Gets the `PJRT_Client*` stored in TF global ResourceManager.
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Dec 20 20:01:06 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/cthread_windows.c

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    #define WIN32_LEAN_AND_MEAN
    #include <windows.h>
    #include <process.h>
    #include "_cgo_export.h"
    
    __stdcall
    static unsigned int
    addThread(void *p)
    {
    	int i, max;
    	
    	max = *(int*)p;
    	for(i=0; i<max; i++)
    		Add(i);
    	return 0;
    }
    
    void
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed May 17 21:53:11 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  10. tensorflow/c/checkpoint_reader.h

    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 12 08:49:52 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top