Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Description (0.3 sec)

  1. tensorflow/c/c_api.cc

    #include "tensorflow/core/common_runtime/shape_refiner.h"
    #include "tensorflow/core/config/flag_defs.h"
    #include "tensorflow/core/config/flags.h"
    #include "tensorflow/core/framework/allocation_description.pb.h"
    #include "tensorflow/core/framework/attr_value_util.h"
    #include "tensorflow/core/framework/cpp_shape_inference.pb.h"
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/framework/kernel_def.pb.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_experimental_reader_test.cc

      CHECK_EQ(actual, 1);
    }
    
    TFE_MonitoringCounter0* CreateCounter0(const char* counter_name) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0(counter_name, status, "description");
      TF_DeleteStatus(status);
      return counter;
    }
    
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta) {
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 20 03:14:47 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  3. tensorflow/c/c_api_function.cc

                                    const TF_FunctionOptions* opts,
                                    const char* description, TF_Status* status) {
      return TF_GraphToFunctionWithControlOutputs(
          fn_body, fn_name, append_hash_to_fn_name, num_opers, opers, ninputs,
          inputs, noutputs, outputs, output_names, 0, nullptr, nullptr, opts,
          description, status);
    }
    
    const char* TF_FunctionName(TF_Function* func) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

              /* opers */ operations, /* ninputs */ 1, /* inputs */ &x,
              /* noutputs */ 1, /* outputs */ &y, /* output_names */ &output_name,
              /* opts */ nullptr, /* description */ "", /* status */ status),
          TF_DeleteFunction);
      if (TF_GetCode(status) != TF_OK) return;
      TFE_ContextAddFunction(context, function.get(), status);
    }
    
    TEST(PARALLEL_DEVICE, TestFunction) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      return ok;
    }
    
    TEST(CAPI, MonitoringCounter0) {
      TF_Status* status = TF_NewStatus();
      auto* counter =
          TFE_MonitoringNewCounter0("test/counter", status, "description");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
      auto* cell = TFE_MonitoringGetCellCounter0(counter);
      TFE_MonitoringCounterCellIncrementBy(cell, 1);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_experimental.cc

    TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(const char* name,
                                                      TF_Status* status,
                                                      const char* description) {
      auto* result = new TFE_MonitoringCounter0({name, description});
      tsl::Set_TF_Status_from_Status(status, result->counter->GetStatus());
      if (!result->counter->GetStatus().ok()) {
        delete result;
        return nullptr;
      }
      return result;
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  7. tensorflow/c/c_api_experimental_test.cc

    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
    #endif  // !defined(PLATFORM_WINDOWS)
    }
    
    void DefineFunction(const char* name, TF_Function** func,
                        const char* description = nullptr,
                        bool append_hash = false) {
      std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
          TF_NewGraph(), TF_DeleteGraph);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  8. tensorflow/c/c_api_function_test.cc

      ASSERT_EQ(attr.DebugString(), read_attr2.DebugString());
    }
    
    TEST_F(CApiFunctionTest, Description) {
      DefineFunction(func_name_, &func_, "Return something");
      tensorflow::FunctionDef fdef;
      ASSERT_TRUE(GetFunctionDef(func_, &fdef));
      ASSERT_EQ(string("Return something"), fdef.signature().description());
    }
    
    TEST_F(CApiFunctionTest, Name) {
      DefineFunction("long_func_name", &func_, "Return something",
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top