Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for single (0.18 sec)

  1. tensorflow/c/checkpoint_reader.h

    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    // variables.
    class CheckpointReader {
     public:
      CheckpointReader(const string& filename, TF_Status* status);
    
      bool HasTensor(const string& name) const;
      const string DebugString() const;
    
      // Returns a map from variable names to their shapes.  Slices of a partitioned
      // tensor are combined into a single entry.
    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)
  2. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // less synchronization than a thread pool would for this task, since Execute
      // acquires each thread in order (and so only one Execute will schedule
      // blocking collective operations at a time), and avoids some dynamic
      // allocation/scheduling.
      //
      // TODO(allenl): Keep a map from outer thread to list of inner threads rather
      // than a single list of threads so aliased nested parallel devices don't
      // re-use a thread.
    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)
  3. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

      // Adds `value` to the existing value of the variable.
      void AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                     TF_Status* status);
    
     private:
      // Helper for running any single-argument assignment ops (Assign, AssignAdd,
      // AssignSub, ...).
      void GeneralAssignment(const char* op_name, TFE_Context* context,
                             TFE_TensorHandle* value, 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_test_util.h

                   const std::string& send_device, const std::string& recv_device,
                   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,
    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)
  5. tensorflow/c/c_api.h

    //       .Attr("T: type");
    // that defines two inputs, "concat_dim" and "values" (in that order).
    // You must use TF_AddInput() for the first input (since it takes a
    // single tensor), and TF_AddInputList() for the second input (since
    // it takes a list, even if you were to pass a list with a single
    // tensor), as in:
    //   TF_OperationDescription* desc = TF_NewOperation(graph, "Concat", "c");
    //   TF_Output concat_dim_input = {...};
    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)
  6. tensorflow/c/c_api_experimental.h

    // Sets XLA's auto jit mode according to the specified string, which is parsed
    // as if passed in XLA_FLAGS. This has global effect.
    TF_CAPI_EXPORT void TF_SetXlaAutoJitMode(const char* mode);
    
    // Returns whether the single GPU or general XLA auto jit optimizations are
    // enabled through MarkForCompilationPassFlags.
    TF_CAPI_EXPORT unsigned char TF_GetXlaAutoJitEnabled();
    
    // Sets XLA's minimum cluster size. This has global effect.
    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. tensorflow/c/eager/custom_device_testutil.h

    limitations under the License.
    ==============================================================================*/
    
    #ifndef TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    #define TENSORFLOW_C_EAGER_CUSTOM_DEVICE_TESTUTIL_H_
    
    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  8. tensorflow/c/env.h

    TF_CAPI_EXPORT extern char* TF_GetTempFileName(const char* extension);
    
    // Returns the number of nanoseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowNanos(void);
    
    // Returns the number of microseconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowMicros(void);
    
    // Returns the number of seconds since the Unix epoch.
    TF_CAPI_EXPORT extern uint64_t TF_NowSeconds(void);
    
    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)
  9. tensorflow/c/eager/abstract_context.h

      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage its own
      // lifetime through ref counting. Thus clients MUST call Release() in order to
      // destroy an instance of this class.
      virtual void Release() = 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)
  10. tensorflow/c/eager/tape.h

    // have all gradients available. This set usually is a subset of the set of
    // targets (not all since targets which have outputs in the tape will not have
    // gradients available initially).
    //
    // Then we repeatedly pop an entry from the stack, run its backprop, and update
    // the gradients of its inputs. Once we have computed all gradients for a single
    // input we can mark this input as done, and this can trigger adding an entry to
    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)
Back to top