Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for cc_status (1.95 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_testlib.h

                              const char* device, TF_Status* status);
      // Dereferences the backing buffer for the variable. Note that since this can
      // fail (it runs operations), it must be called explicitly and the resulting
      // `status` checked.
      void Destroy(TFE_Context* context, TF_Status* status);
    
      // Reads from the variable.
      TensorHandlePtr Read(TFE_Context* context, TF_Status* status);
      // Assigns a new value to the variable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 09 01:12:35 UTC 2021
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/cc/experimental/base/public/status.h

      friend class TensorHandle;
    
      // Wraps a TF_Status*, and takes ownership of it.
      explicit Status(TF_Status* status) : status_(status) {}
    
      // Status is not copyable
      Status(const Status&) = delete;
      Status& operator=(const Status&) = delete;
    
      // Returns the TF_Status that this object wraps. This object
      // retains ownership of the pointer.
      TF_Status* GetTFStatus() const { return status_.get(); }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 12 19:37:48 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. tensorflow/c/python_api.cc

    }
    
    void SetAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                 TF_Buffer* attr_value_proto, TF_Status* status) {
      TF_SetAttr(graph, op, attr_name, attr_value_proto, status);
    }
    
    void ClearAttr(TF_Graph* graph, TF_Operation* op, const char* attr_name,
                   TF_Status* status) {
      TF_ClearAttr(graph, op, attr_name, status);
    }
    
    void SetFullType(TF_Graph* graph, TF_Operation* op,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jul 12 18:48:56 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/ops/bitcast.cc

    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/registration/registration.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/macros.h"
    
    static void ComputeNewShape(TF_ShapeInferenceContext* ctx,
                                TF_ShapeHandle* shape, TF_DataType input_type,
                                TF_DataType output_type, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 07:51:50 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_unified_experimental.cc

    void TF_SetTracingImplementation(const char* name, TF_Status* s) {
      tsl::Set_TF_Status_from_Status(s, SetDefaultTracingEngine(name));
    }
    
    // Creates a new TensorFlow function, it is an execution context attached to a
    // given tracing context.
    TF_ExecutionContext* TF_CreateFunction(const char* fn_name, TF_Status* s) {
      return wrap(CreateTracingExecutionContext(fn_name, s));
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 10:15:17 UTC 2024
    - 9K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/pluggable_profiler/pluggable_profiler.h

    //   void profiler_start(const TP_Profiler* profiler, TF_Status* status) {
    //     /* Enable profiler */
    //     ...
    //   }
    //
    //  void profiler_stop(const TP_Profiler* profiler, TF_Status* status) {
    //    /* Disable Profiler */
    //    ...
    //  }
    //
    //  void profiler_collect_data_xspace(const TP_Profiler* profiler, uint8_t*
    //  buffer, size_t* size_in_bytes, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 14 20:04:34 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/python/mlir.h

        bool include_variables_in_initializers, bool upgrade_legacy,
        bool show_debug_info, TF_Status *status);
    
    std::string ExperimentalRunPassPipeline(const std::string &mlir_txt,
                                            const std::string &pass_pipeline,
                                            bool show_debug_info,
                                            TF_Status *status);
    
    // Writes the input textual MLIR as bytecode to output file.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 23:44:01 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  8. tensorflow/c/kernels/merge_summary_op.cc

    namespace {
    
    // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status
    struct TFTensorDeleter {
      void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); }
    };
    
    struct TFStatusDeleter {
      void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); }
    };
    
    // Struct that wraps TF_Tensor and TF_Status to delete once out of scope
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  9. tensorflow/c/kernels/histogram_summary_op.cc

    namespace {
    
    // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status.
    struct TFTensorDeleter {
      void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); }
    };
    
    struct TFStatusDeleter {
      void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); }
    };
    
    // Struct that wraps TF_Tensor and TF_Status to delete once out of scope.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/custom_device_testutil.h

    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_status.h"
    
    void RegisterLoggingDevice(TFE_Context* context, const char* name,
                               bool strict_scope_placement, bool* arrived_flag,
                               bool* executed_flag, TF_Status* status);
    void AllocateLoggingDevice(const char* name, bool* arrived_flag,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
Back to top