You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LOG_WARNING("Node " << util::node_info(n) << " output: " << out->debugName() << " does not have a coresponding output, may potentially indicate a defective converter");
[](ConversionCtx* ctx, const torch::jit::Node* n, args& args) -> bool {
81
81
auto input = args[0].ITensor();
82
82
auto shape = input->getDimensions();
83
83
auto gamma = args[1].unwrapToTensor();
84
-
84
+
85
85
if (/*training*/ args[5].unwrapToBool()) {
86
86
LOG_WARNING("TensorRT only converts forward pass of graphs, but saw training = True, may see undefined behavior, consider placing module in eval mode");
87
87
}
88
-
88
+
89
89
// If gamma is None this fails
90
90
if (util::volume(shape) == gamma.numel()) {
91
91
returnConvertLinearBatchNorm(ctx, n, args);
@@ -101,4 +101,4 @@ volatile auto batch_norm_registrations = RegisterNodeConversionPatterns()
0 commit comments