Skip to content

Commit

Permalink
Update protoc.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lutzroeder committed Dec 12, 2020
1 parent c3ead04 commit 18696ec
Show file tree
Hide file tree
Showing 13 changed files with 1,134 additions and 1,141 deletions.
40 changes: 20 additions & 20 deletions source/bigdl-proto.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ $root.com.intel.analytics.bigdl.serialization.BigDLModule = class BigDLModule {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.BigDLModule();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -172,8 +172,8 @@ $root.com.intel.analytics.bigdl.serialization.InitMethod = class InitMethod {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.InitMethod();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -202,8 +202,8 @@ $root.com.intel.analytics.bigdl.serialization.BigDLTensor = class BigDLTensor {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.BigDLTensor();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -268,8 +268,8 @@ $root.com.intel.analytics.bigdl.serialization.TensorStorage = class TensorStorag

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.TensorStorage();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -319,8 +319,8 @@ $root.com.intel.analytics.bigdl.serialization.Regularizer = class Regularizer {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.Regularizer();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -374,8 +374,8 @@ $root.com.intel.analytics.bigdl.serialization.AttrValue = class AttrValue {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.AttrValue();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -466,8 +466,8 @@ $root.com.intel.analytics.bigdl.serialization.AttrValue.ArrayValue = class Array

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.AttrValue.ArrayValue();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -541,8 +541,8 @@ $root.com.intel.analytics.bigdl.serialization.NameAttrList = class NameAttrList

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.NameAttrList();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -571,8 +571,8 @@ $root.com.intel.analytics.bigdl.serialization.Shape = class Shape {

static decode(reader, length) {
const message = new $root.com.intel.analytics.bigdl.serialization.Shape();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down Expand Up @@ -615,8 +615,8 @@ $root.google.protobuf.Any = class Any {

static decode(reader, length) {
const message = new $root.google.protobuf.Any();
const end = reader.next(length);
while (reader.end(end)) {
const end = length !== undefined ? reader.position + length : reader.length;
while (reader.position < end) {
const tag = reader.uint32();
switch (tag >>> 3) {
case 1:
Expand Down
Loading

0 comments on commit 18696ec

Please sign in to comment.