Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 54 of 54 for 20x10xf32 (0.18 sec)

  1. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

        // CHECK-NEXT: return %[[DIV]] : tensor<4x10xf32>
        %0 = "tf.Softsign"(%arg0) : (tensor<4x10xf32>) -> tensor<4x10xf32>
        func.return %0 : tensor<4x10xf32>
    }
    
    // -----
    
    // CHECK-LABEL: func @softsign_grad
    func.func @softsign_grad(%arg0: tensor<4x10xf32>, %arg1: tensor<4x10xf32>) -> tensor<4x10xf32> {
    
        // CHECK-NEXT: %[[ONE:.*]] = mhlo.constant dense<1.000000e+00> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

        }
      }
      return new_arg_type;
    }
    
    // Combination of value producer and port of value produced (e.g.,
    //   <value result output>:<value in output tensor>,
    // so for tf.Const -> tensor<10x20xf32>, [0,2,18] would point to a unique output
    // scalar value).
    struct ValuePort {
      PointerUnion<Operation*, BlockArgument> producer;
      SmallVector<unsigned int, 2> port;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        func.return %2 : tensor<1xi32>
      }
    
      // CHECK-LABEL: func @tensor_cast_partial_infer
      func.func @tensor_cast_partial_infer(%arg0: tensor<?x10xi32>) -> tensor<10x?xi32> {
       // CHECK: return {{.*}} : tensor<10x10xi32>
        %2 = tensor.cast %arg0 : tensor<?x10xi32> to tensor<10x?xi32>
        func.return %2 : tensor<10x?xi32>
      }
    
      // CHECK-LABEL: operand_pack_unranked
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    mlir_module = '''python
    func @main(%arg0 : tensor<10xf32>, %arg1 : tensor<10xf32>) -> tensor<10x10xf32> {
       %add = "magic.op"(%arg0, %arg1) : (tensor<10xf32>, tensor<10xf32>) -> tensor<10x10xf32>
       return %ret : tensor<10x10xf32>
    }
    '''
    
    @tf.function
    def foo(x, y):
      return mlir_passthrough_op([x, y], mlir_module, Toutputs=[tf.float32])
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top