moose icon indicating copy to clipboard operation
moose copied to clipboard

Incomplete ops for boolean tensor

Open jvmncs opened this issue 2 years ago • 1 comments

  • Identity op @ replicated (from host input)
  • logical or @ replicated (from host input)

comp to reproduce:

@edsl.computation
def my_comp():
    with bob:
        x = edsl.constant(np.array([0, 1], dtype=np.bool))

    with rep:
        # x = edsl.logical_or(x, x)
        x = edsl.identity(x)
    
    with bob:
        x = edsl.identity(x)
            
    return x

jvmncs avatar Mar 21 '22 15:03 jvmncs

I would say "fix later", wdyt @jvmncs ?

mortendahl avatar Mar 23 '22 10:03 mortendahl