Browse Source

parser st

pull/415/head
jwx930962 4 years ago
parent
commit
cb0510d4c2
2 changed files with 12 additions and 18 deletions
  1. +12
    -12
      tests/st/testcase/origin_models/test.json
  2. +0
    -6
      tests/st/testcase/test_tensorflow_parser.cc

+ 12
- 12
tests/st/testcase/origin_models/test.json View File

@@ -2,12 +2,6 @@
"node": [
{
"attr": [
{
"key": "dtype",
"value": {
"type": "DT_HALF"
}
},
{
"key": "shape",
"value": {
@@ -19,6 +13,12 @@
]
}
}
},
{
"key": "dtype",
"value": {
"type": "DT_HALF"
}
}
],
"name": "Placeholder",
@@ -26,12 +26,6 @@
},
{
"attr": [
{
"key": "dtype",
"value": {
"type": "DT_HALF"
}
},
{
"key": "shape",
"value": {
@@ -43,6 +37,12 @@
]
}
}
},
{
"key": "dtype",
"value": {
"type": "DT_HALF"
}
}
],
"name": "Placeholder_1",


+ 0
- 6
tests/st/testcase/test_tensorflow_parser.cc View File

@@ -312,12 +312,6 @@ REG_OP(Add)
.OP_END_FACTORY_REG(Add)
}

struct MemBuffer
{
void* data;
uint32_t size;
};

static MemBuffer* MemBufferFromFile(const char *path)
{
char path_temp[PATH_MAX + 1] = {0x00};


Loading…
Cancel
Save