Skip to content

Commit

Permalink
Support 3D instanceNormalization (NVIDIA#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinch-nv authored Aug 12, 2020
1 parent 2ead004 commit 763952d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ int InstanceNormalizationPlugin::enqueue(const nvinfer1::PluginTensorDesc* input
int n = input_dims.d[0];
int c = input_dims.d[1];
int h = input_dims.d[2];
int w = input_dims.d[3];
int w = input_dims.d[3] > 0 ? input_dims.d[3] : 1;
size_t nchan_bytes = c * sizeof(float);

// Note: We repeat the data for each batch entry so that we can do the full
Expand Down

0 comments on commit 763952d

Please sign in to comment.