Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 34 for init (0.12 sec)

  1. tensorflow/c/eager/tfe_monitoring_internal.h

    #include "tensorflow/core/lib/monitoring/sampler.h"
    #include "tensorflow/core/platform/types.h"
    
    struct TFE_MonitoringCounterCell {
      tensorflow::monitoring::CounterCell cell;
    };
    
    template <int NumLabels>
    struct TFE_MonitoringCounter {
      template <typename... LabelDesc>
      TFE_MonitoringCounter(const char* name, const char* description,
                            LabelDesc&&... label) {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  2. tensorflow/c/c_test.c

      TF_Tensor* input;
      TF_Status* s = TF_NewStatus();
      TF_GetInput(ctx, 0, &input, s);
      TF_DeleteTensor(input);
      TF_DeleteStatus(s);
    }
    
    // Exercises tensorflow's C API.
    int main(int argc, char** argv) {
      TF_InitMain(argv[0], &argc, &argv);
    
      struct TF_StringStream* s = TF_GetLocalTempDirectories();
      const char* path;
    
      if (!TF_StringStreamNext(s, &path)) {
    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)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/cleanup.h

      }
    
      bool is_released() const { return released_; }
    
     private:
      static_assert(!std::is_reference<F>::value, "F must not be a reference");
    
      bool released_ = false;
      F f_;
    };
    
    template <int&... ExplicitParameterBarrier, typename F,
              typename DecayF = typename std::decay<F>::type>
    Cleanup<DecayF> MakeCleanup(F&& f) {
      return Cleanup<DecayF>(std::forward<F>(f));
    }
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 11:16:00 GMT 2020
    - 3.4K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/filesystem/filesystem_interface.h

    typedef struct TF_FilesystemPluginOps {
      char* scheme;
      int filesystem_ops_abi;
      int filesystem_ops_api;
      size_t filesystem_ops_size;
      TF_FilesystemOps* filesystem_ops;
      int random_access_file_ops_abi;
      int random_access_file_ops_api;
      size_t random_access_file_ops_size;
      TF_RandomAccessFileOps* random_access_file_ops;
      int writable_file_ops_abi;
      int writable_file_ops_api;
      size_t writable_file_ops_size;
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 27 17:36:54 GMT 2022
    - 53.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/immediate_execution_tensor_handle.h

    // is needed a static_cast can be applied.
    class ImmediateExecutionTensorHandle : public AbstractTensorHandle {
     public:
      // Returns number of dimensions.
      virtual Status NumDims(int* num_dims) const = 0;
      // Returns number of elements across all dimensions.
      virtual Status NumElements(int64_t* num_elements) const = 0;
      // Returns size of specified dimension
      //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  6. tensorflow/c/c_api_internal.h

    void TF_GraphSetOutputHandleShapesAndTypes(TF_Graph* graph, TF_Output output,
                                               int num_shapes_and_types,
                                               const int64_t** shapes,
                                               const int* ranks,
                                               const TF_DataType* types,
                                               TF_Status* status);
    
    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)
  7. tensorflow/c/eager/unified_api_testutil.h

    // Return a tensor handle with given type, values and dimensions.
    template <class T, TF_DataType datatype>
    Status TestTensorHandleWithDims(AbstractContext* ctx, const T* data,
                                    const int64_t* dims, int num_dims,
                                    AbstractTensorHandle** tensor) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      TFE_Context* eager_ctx =
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 4K bytes
    - Viewed (0)
  8. tensorflow/c/eager/gradients_internal.h

                           ForwardOperation*);
    Status SetAttrBoolList(AbstractOperation*, const char* attr_name,
                           const unsigned char* values, int num_values,
                           ForwardOperation*);
    Status SetAttrShapeList(AbstractOperation*, const char* attr_name,
                            const int64_t** dims, const int* num_dims,
                            int num_values, ForwardOperation*);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:27:35 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.h

    TF_Tensor* BoolTensor(int32_t v);
    
    // Create a tensor with values of type TF_INT8 provided by `values`.
    TF_Tensor* Int8Tensor(const int64_t* dims, int num_dims, const char* values);
    
    // Create a tensor with values of type TF_INT32 provided by `values`.
    TF_Tensor* Int32Tensor(const int64_t* dims, int num_dims,
                           const int32_t* values);
    
    // Create 1 dimensional tensor with values from `values`
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem_helper.h

    // `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`.
    int RemoveSpecialDirectoryEntries(const struct dirent* entry);
    
    }  // namespace tf_posix_filesystem
    
    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)
Back to top