Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_NewBuffer (0.17 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

      auto* cell1 = TFE_MonitoringGetCellSampler1(sampler1, "foo");
      TFE_MonitoringSamplerCellAdd(cell1, 1.0);
      TFE_MonitoringSamplerCellAdd(cell1, 2.0);
      TF_Buffer* result1 = TF_NewBuffer();
      TFE_MonitoringSamplerCellValue(cell1, result1);
      tensorflow::HistogramProto histogram1;
      EXPECT_TRUE(histogram1.ParseFromString(
          {reinterpret_cast<const char*>(result1->data), result1->length}));
    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)
Back to top