Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BM_ScalarSummaryOp (0.26 sec)

  1. tensorflow/c/kernels/summary_op_benchmark_test.cc

    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/platform/test_benchmark.h"
    
    namespace tensorflow {
    namespace {
    
    Graph* BM_ScalarSummaryOp(TensorShape shape, std::string tag, float value) {
      Graph* g = new Graph(OpRegistry::Global());
      Tensor tags(DT_STRING, shape);
      Tensor values(DT_FLOAT, shape);
      for (int i = 0; i < tags.NumElements(); ++i) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Nov 25 00:59:20 UTC 2020
    - 2.7K bytes
    - Viewed (0)
Back to top