diff --git a/java/src/main/java/io/paddle/serving/client/Client.java b/java/src/main/java/io/paddle/serving/client/Client.java index c7c7b2499873c6f11ecd76d84323f58550ed4541..ea891877a01722b8cae9d456b5674112c01a4537 100644 --- a/java/src/main/java/io/paddle/serving/client/Client.java +++ b/java/src/main/java/io/paddle/serving/client/Client.java @@ -8,6 +8,7 @@ import java.lang.management.RuntimeMXBean; import io.grpc.ManagedChannel; import io.grpc.ManagedChannelBuilder; import io.grpc.StatusRuntimeException; +import com.google.protobuf.ByteString; import com.google.common.util.concurrent.ListenableFuture; @@ -43,7 +44,6 @@ class Profiler { void printProfile() { if (enable_) { String profile_str = String.join("", time_record_); - System.out.println(profile_str); time_record_ = new ArrayList(); time_record_.add(print_head_); } @@ -177,7 +177,6 @@ public class Client { counter *= dim; } feedTensorLen_.put(var_name, counter); - // TODO: check shape } } @@ -210,7 +209,6 @@ public class Client { INDArray flattened_list = variable.reshape(flattened_shape); int v_type = feedTypes_.get(name); NdIndexIterator iter = new NdIndexIterator(flattened_list.shape()); - //System.out.format("[A] name: %s, type: %d\n", name, v_type); if (v_type == 0) { // int64 while (iter.hasNext()) { long[] next_index = iter.next();