Sha256: 4866fcd67b10f20f8c2e17713a70468b1f10854bc396926d698a9f9edba8aa1c
Contents?: true
Size: 387 Bytes
Versions: 9
Compression:
Stored size: 387 Bytes
Contents
TensorStream::OpMaker.define_operation :round do |op| op.what_it_does "Rounds the values of a tensor to the nearest integer, element-wise" op.parameter :input_a, "tensor X", validate: 'FLOATING_POINT_TYPES' op.option :name, "Optional name", :nil op.define_gradient do |grad, node, params| nil end op.define_shape do |tensor| tensor.inputs[0].shape.shape end end
Version data entries
9 entries across 9 versions & 1 rubygems