Module: TensorStream

Extended by:
Debugging, OpHelper, Ops, Utils
Defined in:
lib/tensor_stream.rb,
lib/tensor_stream/ops.rb,
lib/tensor_stream/graph.rb,
lib/tensor_stream/types.rb,
lib/tensor_stream/utils.rb,
lib/tensor_stream/device.rb,
lib/tensor_stream/tensor.rb,
lib/tensor_stream/session.rb,
lib/tensor_stream/trainer.rb,
lib/tensor_stream/version.rb,
lib/tensor_stream/variable.rb,
lib/tensor_stream/nn/nn_ops.rb,
lib/tensor_stream/operation.rb,
lib/tensor_stream/graph_keys.rb,
lib/tensor_stream/initializer.rb,
lib/tensor_stream/placeholder.rb,
lib/tensor_stream/train/saver.rb,
lib/tensor_stream/control_flow.rb,
lib/tensor_stream/tensor_shape.rb,
lib/tensor_stream/math_gradients.rb,
lib/tensor_stream/evaluator/buffer.rb,
lib/tensor_stream/helpers/op_helper.rb,
lib/tensor_stream/debugging/debugging.rb,
lib/tensor_stream/evaluator/evaluator.rb,
lib/tensor_stream/helpers/string_helper.rb,
lib/tensor_stream/evaluator/base_evaluator.rb,
lib/tensor_stream/evaluator/ruby_evaluator.rb,
lib/tensor_stream/graph_serializers/pbtext.rb,
lib/tensor_stream/graph_serializers/graphml.rb,
lib/tensor_stream/graph_serializers/serializer.rb,
lib/tensor_stream/evaluator/opencl/opencl_buffer.rb,
lib/tensor_stream/evaluator/opencl/opencl_device.rb,
lib/tensor_stream/train/gradient_descent_optimizer.rb,
lib/tensor_stream/evaluator/opencl/opencl_evaluator.rb,
lib/tensor_stream/evaluator/operation_helpers/math_helper.rb,
lib/tensor_stream/evaluator/operation_helpers/array_ops_helper.rb

Overview

A tensorstream device

Defined Under Namespace

Modules: ArrayOpsHelper, Debugging, Evaluator, MathHelper, OpHelper, Ops, StringHelper, Train, Trainer, Types, Utils Classes: Buffer, ControlFlow, Device, Graph, GraphKeys, Graphml, Initializer, MathGradients, NN, OpenCLBuffer, OpenclDevice, Operation, Pbtext, Placeholder, Serializer, Session, Tensor, TensorShape, Variable

Constant Summary collapse

VERSION =
'0.5.1'.freeze

Constants included from Ops

Ops::FLOATING_POINT_TYPES, Ops::INTEGER_TYPES, Ops::NUMERIC_TYPES

Class Method Summary collapse

Methods included from OpHelper

_op, cons, dtype_eval, format_source, fp_type?, i_cons, i_op, shape_eval, val_to_dtype

Methods included from Ops

abs, add, argmax, argmin, cast, ceil, check_numerics, concat, cond, cos, div, equal, exp, eye, floor, glorot_uniform_initializer, gradients, greater, greater_equal, identity, less, less_equal, log, log1p, logical_and, matmul, max, maximum, mul, multiply, negate, negative, not_equal, ones, ones_like, pad, pow, print, random_normal, random_uniform, random_uniform_initializer, rank, reciprocal, reduce_mean, reduce_prod, reduce_sum, reshape, round, shape, sigmoid, sign, sin, slice, sqrt, square, stop_gradient, sub, subtract, tan, tanh, tile, transpose, where, zeros, zeros_initializer, zeros_like

Methods included from Debugging

add_check_numerics_ops

Methods included from Utils

__v_scope_name, assign, check_allowed_types, check_data_types, constant, control_dependencies, convert_to_tensor, device, disable_eager_execution, enable_eager_execution, executing_eagerly?, float32, get_collection, get_default_graph, get_variable, get_variable_scope, global_variables_initializer, graph, group, layers, list_local_devices, name_scope, norm_dtype, placeholder, program, reset_default_graph, session, set_random_seed, train, trainable_variables, variable, variable_scope

Class Method Details

.nnObject

tensorflow compatibility



47
48
49
# File 'lib/tensor_stream/nn/nn_ops.rb', line 47

def self.nn
  TensorStream::NN
end

.versionObject



4
5
6
# File 'lib/tensor_stream/version.rb', line 4

def self.version
  VERSION
end