Skip to content

Commit

Permalink
Split string literal to match the error message format arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Po Yen Chen committed Mar 10, 2019
1 parent a728ff4 commit 98ac24b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Target/NvDla/CodeEmitVisitor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1147,7 +1147,7 @@ int CodeEmitVisitor::packBias(const ComputeOperator& co, const Tensor* t, int di
{
if (dims[1] != 1 && dims[2] != 1 && dims[3] != 1) {
NVDLA_DBG("PACK FEATURE, FEATURE IS NOT 1D ARRAY ##################################");
fatal(nvdla_unsupported_attribute) << "bias is not 1D array" << co.name();
fatal(nvdla_unsupported_attribute) << "bias" << "is not 1D array" << co.name();
}
std::string blob_name = "tb-" + std::to_string(m_pMeta.m_NumBlobs++);
NvDlaCubeInfo finfo(NVDLA_CUBE_FEATURE, 1, dims[0], dims[2], dims[3], sizeof(unsigned short));
Expand Down

0 comments on commit 98ac24b

Please sign in to comment.