diff options
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/moco-tf/src/Convert.h | 2 | ||||
-rw-r--r-- | contrib/moco-tf/src/Op/AvgPool2D.cpp | 2 | ||||
-rw-r--r-- | contrib/moco-tf/src/Op/BiasAdd.cpp | 2 | ||||
-rw-r--r-- | contrib/moco-tf/src/Op/Conv2D.cpp | 4 | ||||
-rw-r--r-- | contrib/moco-tf/src/Op/MaxPool2D.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/contrib/moco-tf/src/Convert.h b/contrib/moco-tf/src/Convert.h index 40ee78d28..b98014437 100644 --- a/contrib/moco-tf/src/Convert.h +++ b/contrib/moco-tf/src/Convert.h @@ -48,7 +48,7 @@ bool get_bool_attr(const tensorflow::NodeDef &node, const std::string &attr_name loco::DataType as_loco_datatype(const tensorflow::DataType dtype); /** - * @brief Class to represent Tensorflow "data_format" attr. + * @brief Class to represent TensorFlow "data_format" attr. */ enum class DataLayout { diff --git a/contrib/moco-tf/src/Op/AvgPool2D.cpp b/contrib/moco-tf/src/Op/AvgPool2D.cpp index 61749bd49..da5b8c002 100644 --- a/contrib/moco-tf/src/Op/AvgPool2D.cpp +++ b/contrib/moco-tf/src/Op/AvgPool2D.cpp @@ -125,7 +125,7 @@ void AvgPool2DGraphBuilder::build(const tensorflow::NodeDef &node, // AvgPool2D { // let's convert attrs: - // Tensorflow attr : T, data_format, ksize, padding, strides + // TensorFlow attr : T, data_format, ksize, padding, strides // to loco attr: not defined, TBD, window, annot, stride // tf ksize -> loco window diff --git a/contrib/moco-tf/src/Op/BiasAdd.cpp b/contrib/moco-tf/src/Op/BiasAdd.cpp index ffc42846a..b50f5b2b8 100644 --- a/contrib/moco-tf/src/Op/BiasAdd.cpp +++ b/contrib/moco-tf/src/Op/BiasAdd.cpp @@ -138,7 +138,7 @@ void BiasAddGraphBuilder::build(const tensorflow::NodeDef &node, GraphBuilderCon // Note: the following descrition of TF 1.13 at // https://www.tensorflow.org/api_docs/python/tf/nn/bias_add seems wrong: // "bias: A 1-D Tensor with size matching the last dimension of value." - // because providing the size of W (last dimension) to bias throws an error with Tensorflow + // because providing the size of W (last dimension) to bias throws an error with TensorFlow } } diff --git a/contrib/moco-tf/src/Op/Conv2D.cpp b/contrib/moco-tf/src/Op/Conv2D.cpp index 2b5c38e7d..c3f6935a3 100644 --- a/contrib/moco-tf/src/Op/Conv2D.cpp +++ b/contrib/moco-tf/src/Op/Conv2D.cpp @@ -145,7 +145,7 @@ void Conv2DGraphBuilder::build(const tensorflow::NodeDef &node, GraphBuilderCont { auto enc = stdex::make_unique<loco::PermutingEncoder<loco::Domain::Filter>>(); - // In Tensorflow, conv2d filter is a 4-D tensor of following shape: + // In TensorFlow, conv2d filter is a 4-D tensor of following shape: // [filter_height, filter_width, in_channels, out_channels] -> HWIO (HWCN) enc->perm()->axis(loco::FilterAxis::Height) = 0; @@ -159,7 +159,7 @@ void Conv2DGraphBuilder::build(const tensorflow::NodeDef &node, GraphBuilderCont auto conv2d = graph->nodes()->create<loco::Conv2D>(); { // let's convert attrs: - // Tensorflow attr : T, data_format, dilations, padding, strides + // TensorFlow attr : T, data_format, dilations, padding, strides // to loco attr: not defined, TBD, TBD, TBD, stride // tf strides -> loco stride diff --git a/contrib/moco-tf/src/Op/MaxPool2D.cpp b/contrib/moco-tf/src/Op/MaxPool2D.cpp index 4c59acc9a..779a325f9 100644 --- a/contrib/moco-tf/src/Op/MaxPool2D.cpp +++ b/contrib/moco-tf/src/Op/MaxPool2D.cpp @@ -108,7 +108,7 @@ void MaxPool2DGraphBuilder::build(const tensorflow::NodeDef &node, // MaxPool2D { // let's convert attrs: - // Tensorflow attr : T, data_format, ksize, padding, strides + // TensorFlow attr : T, data_format, ksize, padding, strides // to loco attr: not defined, TBD, window, TBD, stride // tf ksize -> loco window |