aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/core/graph/graph.h
diff options
context:
space:
mode:
authorGravatar Suharsh Sivakumar <suharshs@google.com>2017-04-19 13:52:40 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-04-19 15:03:58 -0700
commitc6ab1fb225d3d44a9d39666991db0f7eb654c018 (patch)
tree50319e7d4ad883e00085295febe354843792ebf1 /tensorflow/core/graph/graph.h
parent1fc916d0c16eab89523b1e031854313ab1ba18e2 (diff)
Remove all 64/32 bit warnings in tensorflow/cc
Change: 153637886
Diffstat (limited to 'tensorflow/core/graph/graph.h')
-rw-r--r--tensorflow/core/graph/graph.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tensorflow/core/graph/graph.h b/tensorflow/core/graph/graph.h
index 83bb797d1b..a4e0ffa020 100644
--- a/tensorflow/core/graph/graph.h
+++ b/tensorflow/core/graph/graph.h
@@ -84,12 +84,12 @@ class Node {
const OpDef& op_def() const { return *props_->op_def_; }
// input and output types
- int num_inputs() const { return props_->input_types_.size(); }
- DataType input_type(int i) const { return props_->input_types_[i]; }
+ int32 num_inputs() const { return props_->input_types_.size(); }
+ DataType input_type(int32 i) const { return props_->input_types_[i]; }
const DataTypeVector& input_types() const { return props_->input_types_; }
- int num_outputs() const { return props_->output_types_.size(); }
- DataType output_type(int o) const { return props_->output_types_[o]; }
+ int32 num_outputs() const { return props_->output_types_.size(); }
+ DataType output_type(int32 o) const { return props_->output_types_[o]; }
const DataTypeVector& output_types() const { return props_->output_types_; }
// This gives the device the runtime has assigned this node to. If