Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 102 for CST (0.02 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/tests/optimize_layout.mlir

    func.func @commute_transpose_reduce_window(
          %input: tensor<1x114x114x64xf32>,
          %cst: tensor<f32>) -> tensor<1x64x56x56xf32> {
      %tpos = stablehlo.transpose %input, dims = [0, 3, 1, 2]
          : (tensor<1x114x114x64xf32>) -> tensor<1x64x114x114xf32>
      %ret = "stablehlo.reduce_window"(%tpos, %cst)
          <{window_dimensions = array<i64: 1, 1, 3, 3>, window_strides = array<i64: 1, 1, 2, 2>}> ({
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 21:59:06 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/signature_def.mlir

        %cst = arith.constant dense<0.000000e+00> : tensor<5xf32>
        %cst_0 = arith.constant dense<1.0> : tensor<5x384xf32>
        %cst_1 = arith.constant dense<1.0> : tensor<5x384xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:55:51 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/quantization/tensorflow/tf_to_quant.cc

    // the quantization parameters as a TypeAttr and "tfl.dequantize" op used to
    // convert the output type to the next op. Here are the transformations:
    //
    // input   min cst       max cst          input   min cst       max cst
    //  \       |             |                \       |             |
    //   \  (tf.Identity) (tf.Identity)   =>    \  (tf.Identity) (tf.Identity)
    //    \     |             |                  \     |             |
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/tfxla_device_specific_transformations_cpu.mlir

    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 1399 : i32}} {
    
    // CHECK-LABEL: stateless_op
    func.func @stateless_op() -> tensor<i32> {
      // CHECK: %cst = "tf.Const"() <{value = dense<1> : tensor<i32>}> : () -> tensor<i32>
      %0 = "tf.StatelessRandomGetAlg"() {device = ""} : () -> tensor<i32>
      return %0 : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 515 bytes
    - Viewed (0)
  5. src/net/http/transport_dial_test.go

    			GotConn: func(info httptrace.GotConnInfo) {
    				rt.conn = info.Conn.(*transportDialTesterConn)
    			},
    		})
    		req, _ := http.NewRequestWithContext(ctx, "POST", dt.cst.ts.URL, pr)
    		req.Header.Set("Content-Type", "text/plain")
    		rt.res, rt.err = dt.cst.tr.RoundTrip(req)
    		dt.t.Logf("RoundTrip %v: done (err:%v)", rt.roundTripID, rt.err)
    		close(rt.done)
    	}()
    	return rt
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:11:57 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/tests/raise_to_tf.mlir

      %0 = arith.constant 3.0: f32
      %t = tfr.constant f32 -> !tfr.attr
      %cst = tfr.call @tf__const(%0, %t) : (f32, !tfr.attr) -> !tfr.tensor
      %4 = "tfr.cast"(%cst) : (!tfr.tensor) -> tensor<f32>
      func.return %4 : tensor<f32>
    
    // CHECK: %[[cst:.*]] = "tf.Const"() <{value = dense<3.000000e+00> : tensor<f32>}> : () -> tensor<f32>
    // CHECK: return %[[cst]] : tensor<f32>
    }
    
    // CHECK-LABEL: attribute_propagate
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

      %cst = "tf.Const"() {__op_key = 2: i32, device = "/device:CPU:0", value = dense<0> : tensor<i32>} : () -> tensor<i32>
      // Predicate should be inlined.
      // CHECK-NEXT: tf_mlrt.predicate
      // CHECK-NEXT: mlrt.cond
      // CHECK-NEXT: tf_mlrt.predicate
    
      // CHECK-NEXT: mlrt.while
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx_test.cc

      %index = arith.constant 0 : index
      %cst = arith.constant 1 : i64
      %eq = arith.cmpi "eq", %n, %cst : i64
      %v1 = tfr.get_element %values[%index] : (!tfr.tensor_list, index) -> !tfr.tensor
      %res = scf.if %eq -> !tfr.tensor {
        scf.yield %v1 : !tfr.tensor
      } else {
        %step = arith.index_cast %cst : i64 to index
        %end = arith.index_cast %n : i64 to index
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/ir/tfl_canonicalize.td

    // not contributing to the dimentionality. This will run if the rank>6
    // Pattern will convert-
    // %0 = "tfl.transpose"(%arg0, %cst) : (tensor<56x8x56x1x1x1x7xf32>, tensor<7xi32>) -> tensor<1x1x8x56x56x7x1xf32>
    // to-
    // %0 = "tfl.reshape"(%arg0, %cst) : (tensor<56x8x56x1x1x1x7xf32>, tensor<4xi32>) -> tensor<56x8x56x7xf32>
    // %1 = "tfl.transpose"(%0, %cst_0) : (tensor<56x8x56x7xf32>, tensor<4xi32>) -> tensor<8x56x56x7xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 13 20:41:03 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/tests/verify-tfxla-legalization.mlir

    func.func @invalid_non_mhlo() -> ( tensor<128x32x4xcomplex<f32>> {mhlo.sharding = ""}) {
      // expected-error @+1 {{Could not legalize op: tf.Const}}
      %cst = "tf.Const"() {value = dense<(1.000000e+00,-1.000000e+00)> : tensor<128x32x4xcomplex<f32>>} : () -> tensor<128x32x4xcomplex<f32>>
      return %cst : tensor<128x32x4xcomplex<f32>>
    }
    
    // -----
    
    func.func @invalid_mixed_mhlo() -> (tensor<8x64x128xcomplex<f32>> {mhlo.sharding = ""}) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
Back to top