Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. tensorflow/c/c_api_test.cc

      for (int64_t i = 0; i < input.NumElements(); ++i) {
        tensorflow::Example example;
        auto* feature_map = example.mutable_features()->mutable_feature();
        (*feature_map)["x"].mutable_float_list()->add_value(i);
        input.flat<tstring>()(i) = example.SerializeAsString();
      }
    
      const tensorflow::string input_op_name(
          tensorflow::ParseTensorName(input_name).first);
      TF_Operation* input_op =
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
Back to top