Collective Knowledge Aggregator proof-of-concept
Crowdsourced experiments CK project Partners CK use cases AI powered by CK AI store Get CK
tensorflow-classification-cpu

Added by: cTuning foundation
Date: 2017-03-27 13:20:45.608349
License: See CK LICENSE.txt for licensing details
Module: program
Repo: ck-tensorflow
CID (DOI-like distributed ID): b0ac08fe1d3c2615:1c1cc5d6a4944be7
Tags: tensorflow-classification-cpp,demo,vcpu

Files:
classification.cpp    (22KB)
customize.sh    (1KB)
preprocess.py    (2KB)

Cross-linking (dependencies):

Meta:
{
  "backup_data_uid": "1c1cc5d6a4944be7", 
  "build_compiler_vars": {
    "CPU_ONLY": "ON", 
    "TF_VIA_MAKE": "", 
    "XOPENME": ""
  }, 
  "compile_deps": {
    "compiler": {
      "local": "yes", 
      "name": "GCC compiler", 
      "sort": 0, 
      "tags": "compiler,lang-cpp"
    }, 
    "lib-protobuf": {
      "local": "yes", 
      "name": "ProtoBuf library", 
      "only_for_target_os_tags": [
        "android"
      ], 
      "sort": 110, 
      "tags": "lib,protobuf"
    }, 
    "lib-protobuf-host": {
      "force_target_as_host": "yes", 
      "local": "yes", 
      "name": "ProtoBuf host compiler", 
      "skip_installed": {
        "android": "yes", 
        "win": "yes"
      }, 
      "sort": 115, 
      "tags": "lib,protobuf-host,v3.1.0"
    }, 
    "lib-tensorflow-make": {
      "add_dict": "yes", 
      "local": "yes", 
      "name": "Tensorflow library (via make)", 
      "skip_default": "yes", 
      "sort": 5, 
      "tags": "lib,tensorflow-cpu-make"
    }, 
    "libjpeg": {
      "local": "yes", 
      "name": "Jpeg library", 
      "sort": 10, 
      "tags": "lib,libjpeg"
    }, 
    "xopenme": {
      "local": "yes", 
      "name": "xOpenME library", 
      "sort": 20, 
      "tags": "lib,xopenme"
    }
  }, 
  "compiler_add_include_as_env_from_deps": [
    "CK_ENV_LIB_STDCPP_INCLUDE", 
    "CK_ENV_LIB_STDCPP_INCLUDE_EXTRA", 
    "CK_ENV_LIB_TF_PROTO", 
    "$<>$/tensorflow/contrib/makefile/downloads/eigen"
  ], 
  "compiler_env": "CK_CXX", 
  "compiler_flags_as_env": "$<>$", 
  "data_name": "tensorflow-classification-cpu", 
  "extra_ld_vars": "$<>$ $<>$ $<>$ $<>$ $<>$", 
  "extra_ld_vars_first": "", 
  "main_language": "cpp", 
  "only_for_target_os_tags": [
    "windows", 
    "linux", 
    "android"
  ], 
  "print_files_after_run": [
    "tmp-output1.tmp", 
    "tmp-output2.tmp"
  ], 
  "process_in_tmp": "yes", 
  "program": "yes", 
  "run_cmds": {
    "default": {
      "dataset_tags": [
        "image", 
        "jpeg", 
        "dataset"
      ], 
      "hot_functions": [], 
      "ignore_return_code": "no", 
      "run_time": {
        "fine_grain_timer_file": "tmp-ck-timer.json", 
        "pre_process_via_ck": {
          "data_uoa": "1c1cc5d6a4944be7", 
          "script_name": "preprocess"
        }, 
        "run_cmd_main": "$#BIN_FILE#$ --labels=${CK_DATASET_TENSORFLOW_AUX_TXT} --graph=${CK_DATASET_TENSORFLOW_AUX_PB} --image=$#dataset_path#$$#dataset_filename#$", 
        "run_cmd_out1": "tmp-output1.tmp", 
        "run_cmd_out2": "tmp-output2.tmp", 
        "run_correctness_output_files": [], 
        "run_input_files": [
          "$<>$", 
          "$<>$"
        ], 
        "run_output_files": [
          "tmp-output1.tmp", 
          "tmp-output2.tmp", 
          "tmp-ck-timer.json"
        ]
      }
    }
  }, 
  "run_deps": {
    "tensorflow-model": {
      "local": "yes", 
      "name": "Tensorflow aux", 
      "sort": 1, 
      "tags": "tensorflowmodel,stripped"
    }
  }, 
  "skip_bin_ext": "yes", 
  "source_files": [
    "classification.cpp"
  ], 
  "tags": [
    "tensorflow-classification-cpp", 
    "demo", 
    "vcpu"
  ], 
  "target_file": "classification"
}

API desc:
{}

If you notice copyrighted, inappropriate or illegal content that should not be here, please report us as soon as possible and we will try to remove it within 48hours!

Developed by dividiti,
cTuning foundation,
and the community
          
Implemented as a CK workflow
                     
   
   
                      Hosted at