aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/ignite
diff options
context:
space:
mode:
authorGravatar Anton Dmitriev <dmitrievanthony@gmail.com>2018-09-11 09:50:47 +0000
committerGravatar Anton Dmitriev <dmitrievanthony@gmail.com>2018-09-11 10:01:10 +0000
commit0b6654bc223f4f3807209043dc34ccb07b55474e (patch)
tree4878660ab668d05624ab144823d3de92f87f9bcd /tensorflow/contrib/ignite
parent92019765d7b7db99d0235268d00f349b7a53d1a9 (diff)
Fix code style.
Diffstat (limited to 'tensorflow/contrib/ignite')
-rw-r--r--tensorflow/contrib/ignite/kernels/ignite_dataset_ops.cc2
-rw-r--r--tensorflow/contrib/ignite/kernels/ignite_plain_client_windows.cc4
-rw-r--r--tensorflow/contrib/ignite/ops/dataset_ops.cc34
3 files changed, 20 insertions, 20 deletions
diff --git a/tensorflow/contrib/ignite/kernels/ignite_dataset_ops.cc b/tensorflow/contrib/ignite/kernels/ignite_dataset_ops.cc
index 89eecf9c14..d03404a460 100644
--- a/tensorflow/contrib/ignite/kernels/ignite_dataset_ops.cc
+++ b/tensorflow/contrib/ignite/kernels/ignite_dataset_ops.cc
@@ -13,8 +13,8 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
-#include "ignite_dataset.h"
#include <stdlib.h>
+#include "ignite_dataset.h"
#include "tensorflow/core/framework/dataset.h"
namespace tensorflow {
diff --git a/tensorflow/contrib/ignite/kernels/ignite_plain_client_windows.cc b/tensorflow/contrib/ignite/kernels/ignite_plain_client_windows.cc
index e1e2ee3b20..8182fde6d9 100644
--- a/tensorflow/contrib/ignite/kernels/ignite_plain_client_windows.cc
+++ b/tensorflow/contrib/ignite/kernels/ignite_plain_client_windows.cc
@@ -103,7 +103,7 @@ Status PlainClient::ReadData(uint8_t *buf, int32_t length) {
int recieved = 0;
while (recieved < length) {
- int res = recv(sock_, (char*)buf, length - recieved, 0);
+ int res = recv(sock_, (char *)buf, length - recieved, 0);
if (res < 0)
return errors::Internal("Error occured while reading from socket: ", res);
@@ -121,7 +121,7 @@ Status PlainClient::WriteData(uint8_t *buf, int32_t length) {
int sent = 0;
while (sent < length) {
- int res = send(sock_, (char*)buf, length - sent, 0);
+ int res = send(sock_, (char *)buf, length - sent, 0);
if (res < 0)
return errors::Internal("Error occured while writing into socket: ", res);
diff --git a/tensorflow/contrib/ignite/ops/dataset_ops.cc b/tensorflow/contrib/ignite/ops/dataset_ops.cc
index 17494d1cfd..fb16b290b1 100644
--- a/tensorflow/contrib/ignite/ops/dataset_ops.cc
+++ b/tensorflow/contrib/ignite/ops/dataset_ops.cc
@@ -20,23 +20,23 @@ limitations under the License.
namespace tensorflow {
REGISTER_OP("IgniteDataset")
- .Input("cache_name: string")
- .Input("host: string")
- .Input("port: int32")
- .Input("local: bool")
- .Input("part: int32")
- .Input("page_size: int32")
- .Input("username: string")
- .Input("password: string")
- .Input("certfile: string")
- .Input("keyfile: string")
- .Input("cert_password: string")
- .Input("schema: int32")
- .Input("permutation: int32")
- .Output("handle: variant")
- .SetIsStateful()
- .SetShapeFn(shape_inference::ScalarShape)
- .Doc(R"doc(
+ .Input("cache_name: string")
+ .Input("host: string")
+ .Input("port: int32")
+ .Input("local: bool")
+ .Input("part: int32")
+ .Input("page_size: int32")
+ .Input("username: string")
+ .Input("password: string")
+ .Input("certfile: string")
+ .Input("keyfile: string")
+ .Input("cert_password: string")
+ .Input("schema: int32")
+ .Input("permutation: int32")
+ .Output("handle: variant")
+ .SetIsStateful()
+ .SetShapeFn(shape_inference::ScalarShape)
+ .Doc(R"doc(
Apache Ignite is a memory-centric distributed database, caching, and processing
platform for transactional, analytical, and streaming workloads, delivering
in-memory speeds at petabyte scale. This contrib package contains an