Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for metric (0.19 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_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