From 749dbc93dbba41aae86d725b691e8e996d73a10c Mon Sep 17 00:00:00 2001 From: liuruilong Date: Wed, 2 Jan 2019 22:33:19 +0800 Subject: [PATCH] commit 1 --- metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift b/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift index ce5801ee49..ddf56ad147 100644 --- a/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift +++ b/metal/paddle-mobile/paddle-mobile/Operators/FeedOp.swift @@ -63,7 +63,8 @@ class FeedOp: Operator, FeedParam< func delogOutput() { print(" \(type) output: ") - print(para.output.metalTexture.toTensor(dim: (n: para.output.padToFourDim[0], c: para.output.padToFourDim[1], h: para.output.padToFourDim[2], w: para.output.padToFourDim[3])).strideArray()) + + print(para.output.metalTexture.toTensor(dim: (n: para.output.padToFourDim[0], c: para.output.padToFourDim[3], h: para.output.padToFourDim[2], w: para.output.padToFourDim[1])).strideArray()) } } -- GitLab