Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for Mode (0.15 sec)

  1. tensorflow/c/eager/c_api_unified_experimental.h

    void TF_OutputListPushBack(TF_OutputList* o, TF_AbstractTensor* tensor,
                               TF_Status*);
    
    // TF_ExecuteOperation will, if in eager mode, execute, if in graph mode, maybe
    // capture some inputs and then add a node in the graph. The output tensors are
    // returned through the provided TF_OutputList.
    // Any active tape will observe the effects of this execution.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:00 GMT 2021
    - 7K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.h

    #include <fstream>
    #include <string>
    
    class TempFile : public std::fstream {
     public:
      // We should specify openmode each time we call TempFile.
      TempFile(const std::string& temp_file_name, std::ios::openmode mode);
      TempFile(TempFile&& rhs);
      ~TempFile() override;
      const std::string getName() const;
      bool truncate();
    
     private:
      const std::string name_;
    };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.2K bytes
    - Viewed (0)
  3. tensorflow/c/eager/gradient_checker.h

     * parameter specified by `input_index`.
     *
     * I.e. if y = <output of the forward model> and w = inputs[input_index],
     * this will calculate dy/dw numerically.
     *
     * `use_function` indicates whether to use graph mode(true) or eager(false).
     *
     * `numerical_grad` is the pointer to the AbstractTensorHandle* which will
     * hold the numerical gradient data at the end of the function.
     */
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Dec 11 02:34:32 GMT 2020
    - 1.8K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_experimental.h

        unsigned char enable);
    TF_CAPI_EXPORT unsigned char TF_SetTfXlaCpuGlobalJit(unsigned char enable);
    
    // 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.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental.h

                                                        TF_Status* status);
    
    // Report error (specified by error_code and error_message) to other tasks in
    // the cluster.
    TF_CAPI_EXPORT extern void TFE_ReportErrorToCluster(TFE_Context* ctx,
                                                        int error_code,
                                                        const char* error_message,
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h

    // Copies up to `size` of `src` to `dst`, creating destination if needed.
    //
    // Callers should pass size of `src` in `size` and the permissions of `src` in
    // `mode`. The later is only used if `dst` needs to be created.
    int TransferFileContents(const char* src, const char* dst, mode_t mode,
                             off_t size);
    
    // Returns true only if `entry` points to an entry other than `.` or `..`.
    //
    // This is a filter for `scandir`.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Nov 22 21:23:55 GMT 2019
    - 1.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.h

    // Get the size of input OpInfo::TensorProperties given node name.
    TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize(
        TF_GraphProperties* graph_properties, const char* name, int* num_values,
        TF_Status* status);
    
    // Get the size of output OpInfo::TensorProperties given node name.
    TF_CAPI_EXPORT extern void TF_GetOutputPropertiesListSize(
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/callback_c_gccgo.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 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)
    {
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 452 bytes
    - Viewed (0)
  9. tensorflow/c/eager/tape.h

    // without using tensorflow python code, hence left unspecified here.
    //
    // Gradient is the type returned by gradient functions. In Python TF it's either
    // Tensor or IndexedSlices or None, which here we map to nullptr. Gradients need
    // to allow their size to be computed and they need to be passable to a backward
    // function and deleted (as the backprop code creates lots of gradients the user
    // is not interested in).
    //
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  10. tensorflow/c/eager/abstract_tensor_handle.h

    #include "tensorflow/core/platform/refcount.h"
    #include "tensorflow/core/platform/status.h"
    
    namespace tensorflow {
    
    // Abstract interface to a Tensor handle in either tracing or immediate
    // execution mode.
    class AbstractTensorHandle : public core::RefCounted {
     protected:
      enum AbstractTensorHandleKind { kGraph, kMlir, kEager, kTfrt, kCustomDevice };
      explicit AbstractTensorHandle(AbstractTensorHandleKind kind) : kind_(kind) {}
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
Back to top