Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 20xi32 (0.11 sec)

  1. tensorflow/compiler/mlir/tf2xla/api/v2/legalize_tf_test.cc

        module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
          func.func @main() -> (tensor<2xi32>) {
            %cst = "tf.Const"() {value = dense<[524170, 523952]> : tensor<2xi32>} : () -> tensor<2xi32>
            return %cst : tensor<2xi32>
        }
      })";
    
      auto compilation_result = CompileMlirModule(
          kHasReturnValuesAndNoMetadataRetvals,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 23:59:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

        ```mlir
          %2 = "tf.A"(%arg0) : (tensor<?xi32>) -> tensor<?xi32>
          %3 = "tf.B"(%2) {device = "tpu0"} : (tensor<?xi32>) -> tensor<?xi32>
          %4 = "tf.C"(%2, %3) {device = "tpu0"} : (tensor<?xi32>, tensor<?xi32>) -> tensor<?xi32>
          %5 = "tf.D"(%4) : (tensor<?xi32>) -> tensor<?xi32>
        ```
    
        After the pass, we will have:
    
        ```mlir
          %0 = "tf.A"(%arg0) : (tensor<?xi32>) -> tensor<?xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // The first Operand is assumed to be a TensorType around a variant with a
      // single subtype (e.g. tensor<!tf_type.variant<tensor<2xi32>>>). We will
      // copy this type to the first result, and copy the singular variant subtype
      // to the second result (tensor<2xi32>).
      DCOMMENT_OP(op, "Inferring shape for TensorListPopBackOp.");
    
      auto src_list_handle_t =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    from tensorflow.compiler.mlir.tensorflow.gen_mlir_passthrough_op import mlir_passthrough_op
    
    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):
    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