Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for cst0 (0.04 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

    // -----
    
    // CHECK-LABEL: testDilate
    func.func @testDilate(%arg0: tensor<3x4x5xf32>) -> tensor<5x7x9xf32> {
      // CHECK: "tfl.dilate"(%arg0, %cst, %cst_0)
      %cst = arith.constant dense<1> : tensor<3xi32>
      %cst_0 = arith.constant dense<-1.0> : tensor<f32>
      %0 = "tfl.dilate"(%arg0, %cst, %cst_0) : (tensor<3x4x5xf32>, tensor<3xi32>, tensor<f32>) -> tensor<5x7x9xf32>
      func.return %0 : tensor<5x7x9xf32>
      // CHECK: return %0 : tensor<5x7x9xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0 : tensor<40x40xf32>
    // CHECK-LABEL: matmul
    // CHECK: %[[CST:.*]] = arith.constant dense<[1, 0]> : tensor<2xi32>
    // CHECK: %[[ARG:.*]] = "tfl.transpose"(%arg1, %[[CST]]) : (tensor<37x40xf32>, tensor<2xi32>) -> tensor<40x37xf32>
    // CHECK: %[[CST_0:.*]] = "tfl.no_value"() <{value}> : () -> none
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. src/net/http/transport_test.go

    				timeout *= 2
    				retry = true
    				cst.close()
    			}
    			return true
    		}
    
    		if _, err := cst.c.Get(cst.ts.URL); err != nil {
    			if tooShort(err) {
    				continue
    			}
    			t.Fatalf("got error: %s", err)
    		}
    
    		time.Sleep(10 * timeout)
    		if _, err := cst.c.Get(cst.ts.URL); err != nil {
    			if tooShort(err) {
    				continue
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

      ElementsAttr attr;
      if (auto cst = dyn_cast<mlir::arith::ConstantOp>(inst)) {
        // arith::ConstantOp have ElementAttr at this point due to validation of the
        // TFLite module.
        attr = mlir::cast<ElementsAttr>(cst.getValue());
      } else if (auto cst = dyn_cast<mlir::TF::ConstOp>(inst)) {
        attr = cst.getValue();
      } else if (auto cst = dyn_cast<tfl::ConstOp>(inst)) {
        attr = cst.getValue();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir

    }
    // CHECK-LABEL: transpose
    // CHECK-SAME: %[[ARG0:.+]]: tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>
    // CHECK-NOT: stablehlo.transpose
    // CHECK: %[[CST:.+]] = arith.constant dense<[2, 1, 0]> : tensor<3xi32>
    // CHECK: %[[TRANSPOSE:.+]] = "tfl.transpose"(%[[ARG0]], %[[CST]]) : (tensor<2x3x4x!quant.uniform<i8:f32, 2.000000e+00:-1>>, tensor<3xi32>) -> tensor<4x3x2x!quant.uniform<i8:f32, 2.000000e+00:-1>>
    // CHECK: return %[[TRANSPOSE]]
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 17:10:32 UTC 2024
    - 106.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          "tf.MakeIterator"(%arg0, %0) : (tensor<!tf_type.variant>, tensor<!tf_type.resource>) -> ()
          %cst = "tf.Const"() {value = dense<true> : tensor<i1>} : () -> tensor<i1>
          %1:2 = "tf.WhileRegion"(%cst, %arg1) ({
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
            "tf.Yield"(%arg2) : (tensor<i1>) -> ()
          }, {
          ^bb0(%arg2: tensor<i1>, %arg3: tensor<i64>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
Back to top