Sha256: 6a9c17a196e700bf2c289df8b3a6add5dbc39d3329da615cfe53b39b7ef61588

Contents?: true

Size: 348 Bytes

Versions: 4

Compression:

Stored size: 348 Bytes

Contents

TensorStream::OpMaker.define_operation :greater do |op|
  op.what_it_does "Returns the truth value of (x > y) element-wise."

  op.parameter :input_a, "tensor X"
  op.parameter :input_b, "tensor Y"

  op.apply_data_type_coercion!
  op.supports_broadcasting!

  op.option :name, "Optional name", :nil

  op.define_data_type do
    :boolean
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tensor_stream-1.0.9 lib/tensor_stream/ops/greater.rb
tensor_stream-1.0.8 lib/tensor_stream/ops/greater.rb
tensor_stream-1.0.7 lib/tensor_stream/ops/greater.rb
tensor_stream-1.0.6 lib/tensor_stream/ops/greater.rb