Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for bean (0.15 sec)

  1. tensorflow/c/eager/c_api.h

    // things like the available devices, resource manager etc.
    // TFE_Context must outlive all tensor handles created using it. In other
    // words, TFE_DeleteContext() must be called after all tensor handles have
    // been deleted (with TFE_DeleteTensorHandle).
    //
    // TODO(ashankar): Merge with TF_Session?
    typedef struct TFE_Context TFE_Context;
    
    TF_CAPI_EXPORT extern TFE_Context* TFE_NewContext(
    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)
  2. 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)
  3. tensorflow/c/c_api_internal.h

          TF_GUARDED_BY(mu);
    
      // The keys of this map are all the active sessions using this graph. Each
      // value records whether the graph has been mutated since the corresponding
      // session has been run (this is detected in RecordMutation function). If the
      // string is empty, no mutation has occurred. Otherwise the string is a
      // description of the mutation suitable for returning to the user.
      //
    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)
  4. tensorflow/c/eager/c_api_experimental.h

    // 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)
  5. tensorflow/c/eager/c_api_experimental_reader.h

    // Opaque handle to a reader.
    typedef struct TFE_MonitoringCounterReader TFE_MonitoringCounterReader;
    
    // Returns a handle to be used for reading values from streamz counter. The
    // counter can have been created with any number of labels.
    TF_CAPI_EXPORT extern TFE_MonitoringCounterReader*
    TFE_MonitoringNewCounterReader(const char* name);
    
    // Reads the value of a counter that was created with 0 labels.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. tensorflow/c/env.h

                                                    TF_Status* status);
    
    // Syncs content of the handle to the filesystem. Blocks waiting for the
    // filesystem to indicate that the content has been persisted.
    TF_CAPI_EXPORT extern void TF_SyncWritableFile(TF_WritableFileHandle* handle,
                                                   TF_Status* status);
    
    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)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      std::vector<TensorHandlePtr> tensors_;
      // Parallel tensors are immutable but compute their shape lazily unless it is
      // provided on construction. The optional has a value if the lazy computation
      // has been completed or the shape was provided on construction.
      mutable absl::optional<std::vector<int64_t>> shape_;
      const TF_DataType dtype_;
    };
    
    template <typename DataType>
    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)
  8. tensorflow/c/c_api.h

    TF_CAPI_EXPORT extern void TF_DeleteGraph(TF_Graph*);
    
    // Operation being built. The underlying graph must outlive this.
    typedef struct TF_OperationDescription TF_OperationDescription;
    
    // Operation that has been added to the graph. Valid until the graph is
    // deleted -- in particular adding a new operation to the graph does not
    // invalidate old TF_Operation* pointers.
    typedef struct TF_Operation TF_Operation;
    
    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)
  9. tensorflow/c/eager/tape.h

      }
      const int64_t op_id = next_op_id_++;
      std::vector<TapeTensor> tensors;
      tensors.reserve(output_tensors.size());
      for (const TapeTensor& o : output_tensors) {
        // Note: the tensor can have already been watched and hence be in the tape,
        // so we cannot check that we're inserting it here.
        tensor_tape_[o.GetID()] = op_id;
        tensor_usage_[o.GetID()] = 1;
        tensors.push_back(o);
      }
    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)
  10. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      /// succeeded,
      ///    but the read returned a partial block, and the LRU cache contained a
      ///    block at a higher offset (indicating that the partial block should have
      ///    been a full block).
      /// 3) `TF_OUT_OF_RANGE` if the read from the remote filesystem succeeded, but
      ///    the file contents do not extend past `offset` and thus nothing was
      ///    placed in `out`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
Back to top