MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / main

Function main

tensorflow/core/kernels/spectrogram_convert_test_data.cc:43–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41} // namespace tensorflow
42
43int main(int argc, char* argv[]) {
44 tensorflow::port::InitMain(argv[0], &argc, &argv);
45 if (argc < 2) {
46 LOG(ERROR) << "You must supply a CSV file as the first argument";
47 return 1;
48 }
49 tensorflow::string filename(argv[1]);
50 tensorflow::Status status = tensorflow::wav::ConvertCsvToRaw(filename);
51 if (!status.ok()) {
52 LOG(ERROR) << "Error processing '" << filename << "':" << status;
53 return 1;
54 }
55 return 0;
56}

Callers

nothing calls this directly

Calls 3

ConvertCsvToRawFunction · 0.85
InitMainFunction · 0.50
okMethod · 0.45

Tested by

no test coverage detected