Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for mutable_feature (0.2 sec)

  1. tensorflow/c/c_api_test.cc

      Tensor input(tensorflow::DT_STRING, TensorShape({4}));
      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(
    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