Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for metric (0.16 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      std::unique_ptr<monitoring::CollectedMetrics> metrics =
          collection_registry->CollectMetrics(options);
    
      EXPECT_EQ("test/gauge", metrics->point_set_map.at("test/gauge")->metric_name);
      EXPECT_EQ(1,
                metrics->point_set_map.at("test/gauge")->points.at(0)->int64_value);
    
      TFE_MonitoringIntGaugeCellSet(cell, 5);
      metrics = collection_registry->CollectMetrics(options);
      EXPECT_EQ(5,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental.h

        TFE_MonitoringCounterCell* cell);
    
    // APIs for Counter without label.
    typedef struct TFE_MonitoringCounter0 TFE_MonitoringCounter0;
    // Returns a new Counter metric object. The caller should manage lifetime of
    // the object. Using duplicate metric name will crash the program with fatal
    // error.
    TF_CAPI_EXPORT extern TFE_MonitoringCounter0* TFE_MonitoringNewCounter0(
        const char* name, TF_Status* status, const char* description);
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_test.cc

      /* Want to test simple MatMul example with abstract tensors:
        [[1,2],   *  [[5,6],   =   [[19,22],
         [3,4]]       [7,8]]        [43,50]]
      */
    
      // Build 1st Matrix.
      int64_t dims[] = {2, 2};  // Matrices will be 2 x 2
      int num_dims = sizeof(dims) / sizeof(dims[0]);
    
      float vals1[] = {1.0f, 2.0f, 3.0f, 4.0f};
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
Back to top