Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 83 for used (0.15 sec)

  1. tensorflow/c/env.h

    typedef struct TF_Thread TF_Thread;
    
    typedef struct TF_ThreadOptions {
      // Thread stack size to use (in bytes), zero implies that the system default
      // will be used.
      size_t stack_size;
    
      // Guard area size to use near thread stacks to use (in bytes), zero implies
      // that the system default will be used.
      size_t guard_size;
    
      // The NUMA node to use, -1 implies that there should be no NUMA affinity for
      // this thread.
      int numa_node;
    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)
  2. tensorflow/c/c_api.h

    //   size on the bool type, so the macro defined in stdbool.h could
    //   be inconsistent with the bool keyword in C++. Thus, the use
    //   of stdbool.h is avoided and unsigned char is used instead.
    // * size_t is used to represent byte sizes of objects that are
    //   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:
    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/experimental/filesystem/plugins/gcs/gcs_filesystem.h

      GCSFile(google::cloud::storage::Client&& gcs_client);
      // This constructor is used for testing purpose only.
      GCSFile(google::cloud::storage::Client&& gcs_client, bool compose,
              uint64_t block_size, size_t max_bytes, uint64_t max_staleness,
              uint64_t stat_cache_max_age, size_t stat_cache_max_entries);
    } GCSFile;
    
    // This function is used to initialize a filesystem without the need of setting
    // manually environement variables.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:37:41 GMT 2020
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental_reader.h

    // test();
    // int64_t value = TFE_MonitoringReadCounter1(reader, "label-value");
    
    // 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);
    
    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)
  5. tensorflow/c/eager/abstract_context.h

      // destroy an instance of this class.
      virtual void Release() = 0;
    
      // Creates an operation builder and ties it to this context.
      // The returned object can be used for setting operation's attributes,
      // adding inputs and finally executing (immediately or lazily as in tracing)
      // it in this context.
      virtual AbstractOperation* CreateOperation() = 0;
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // live until `Join` finishes. If `is_async=true` it must live until `Join` is
      // followed by `TFE_ContextAsyncWait` to clear pending operations. It will be
      // used to cancel all other operations if any fails.
      //
      // Set step_id to configure the step id used for rendezvous creation. step id
      // of value -1 is reserved for global rendezvous and should not be set here.
      void StartExecute(TFE_Context* context,
    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)
  7. tensorflow/c/eager/c_api.h

    // TFE_Execute in the same thread will use the device policy specified here
    // instead of the device policy used to construct the context. This has no
    // effect on the device policy used by other program threads.
    TF_CAPI_EXPORT extern void TFE_ContextSetThreadLocalDevicePlacementPolicy(
        TFE_Context* ctx, TFE_ContextDevicePlacementPolicy policy);
    
    // Returns the device placement policy to be used by this context in the current
    // thread.
    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)
  8. tensorflow/c/experimental/filesystem/plugins/posix/copy_file.h

    #define TENSORFLOW_C_EXPERIMENTAL_FILESYSTEM_PLUGINS_POSIX_COPY_FILE_H_
    
    #include <sys/stat.h>
    
    namespace tf_posix_filesystem {
    
    // Transfers up to `size` bytes from `dst_fd` to `src_fd`.
    //
    // This method uses `sendfile` if available (i.e., linux 2.6.33 or later) or an
    // intermediate buffer if not.
    //
    // Returns number of bytes transferred or -1 on failure.
    int CopyFileContents(int dst_fd, int src_fd, off_t size);
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.2K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/swig/testdata/callback/main.h

    // Copyright 2011 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.
    
    class Callback {
    public:
    	virtual ~Callback() { }
    	virtual std::string run() { return "Callback::run"; }
    };
    
    class Caller {
    private:
    	Callback *callback_;
    public:
    	Caller(): callback_(0) { }
    	~Caller() { delCallback(); }
    	void delCallback() { delete callback_; callback_ = 0; }
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 529 bytes
    - Viewed (0)
  10. tensorflow/c/experimental/gradients/not_differentiable.h

    /* Copyright 2020 The TensorFlow Authors. All Rights Reserved.
    
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at
    
        http://www.apache.org/licenses/LICENSE-2.0
    
    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Thu Dec 03 22:28:48 GMT 2020
    - 1.5K bytes
    - Viewed (0)
Back to top