"name" : "MobilenetV1/offset_2/BiasAdd",
"index" : [-1, 1, 1, 1],
"shape_type" : "NHWC",
- "dim_type" : 2
}
],
"displacement" : [
"name" : "MobilenetV1/displacement_fwd_2/BiasAdd",
"index" : [-1, 1, 1, 1],
"shape_type" : "NHWC",
- "dim_type" : 2,
"type" : "FORWARD"
},
{
"name" : "MobilenetV1/displacement_bwd_2/BiasAdd",
"index" : [-1, 1, 1, 1],
"shape_type" : "NHWC",
- "dim_type" : 2,
"type" : "BACKWARD"
}
],
std::string name;
DimInfo dimInfo;
int shapeType;
- int dimType;
public:
OffsetVec() = default;
~OffsetVec() = default;
std::string GetName() { return name; }
DimInfo GetDimInfo() { return dimInfo; }
int GetShapeType() { return shapeType; }
- int GetDimType() { return dimType; }
int ParseOffset(JsonObject *root);
};
DimInfo dimInfo;
inference_displacement_type_e type;
int shapeType;
- int dimType;
std::map<std::string, inference_displacement_type_e> supportedDispTypes;
public:
DispVec();
DimInfo GetDimInfo() { return dimInfo; }
inference_displacement_type_e GetType() { return type; }
int GetShapeType() { return shapeType; }
- int GetDimType() { return dimType; }
int ParseDisplacement(JsonObject *root);
};
return MEDIA_VISION_ERROR_INVALID_OPERATION;
}
- dimType = static_cast<int>(json_object_get_int_member(pObject, "dim_type"));
- LOGI("dim type: %d", dimType);
}
LOGI("LEAVE");
name(),
dimInfo(),
type(INFERENCE_DISPLACEMENT_TYPE_FORWARD),
- shapeType(INFERENCE_TENSOR_SHAPE_NCHW),
- dimType(2)
+ shapeType(INFERENCE_TENSOR_SHAPE_NCHW)
{
supportedDispTypes.insert({"FORWARD", INFERENCE_DISPLACEMENT_TYPE_FORWARD});
supportedDispTypes.insert({"BACKWARD", INFERENCE_DISPLACEMENT_TYPE_BACKWARD});
return MEDIA_VISION_ERROR_INVALID_OPERATION;
}
- dimType = static_cast<int>(json_object_get_int_member(root, "dim_type"));
- LOGI("dim type: %d", dimType);
-
LOGI("LEAVE");
return MEDIA_VISION_ERROR_NONE;
}
Name: capi-media-vision
Summary: Media Vision library for Tizen Native API
Version: 0.8.14
-Release: 0
+Release: 1
Group: Multimedia/Framework
License: Apache-2.0 and BSD-3-Clause
Source0: %{name}-%{version}.tar.gz