Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for CST (0.08 sec)

  1. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      %cst = arith.constant dense<[false, true]> : tensor<2xi1>
      %0 = "tfl.cast"(%cst) : (tensor<2xi1>) -> tensor<2xi8>
      func.return %0 : tensor<2xi8>
    
    // CHECK: %[[CST:.*]] = arith.constant dense<[0, 1]> : tensor<2xi8>
    // CHECK:  return %[[CST]]
    }
    
    // CHECK-LABEL: @cast_i1_to_ui8
    func.func @cast_i1_to_ui8() -> tensor<2xui8> {
      %cst = arith.constant dense<[false, true]> : tensor<2xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/insert_weight_param.mlir

    func.func @qdq_for_conv_weight_empty(%arg0: tensor<1x3x2x3xf32>) -> tensor<1x2x2x2xf32> attributes {tf._original_func_name = "main_0"} {
      %cst = "tf.Const"() {value = dense<3.000000e-01> : tensor<2x3x3x2xf32>} : () -> tensor<2x3x3x2xf32>
      %0 = "tf.XlaCallModule"(%arg0, %cst) {
        Sout = [#tf_type.shape<1x2x2x2>], _entry_function = @composite_conv_fn,
        _original_entry_function = "composite_conv_fn",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 05:56:10 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/dense_to_sparse.cc

      ElementsAttr attr;
      ShapedType type;
      InspectResult result = {};
      if (auto cst = dyn_cast<ConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else if (auto cst = dyn_cast<QConstOp>(inst)) {
        attr = cst.getValue();
        type = mlir::cast<ShapedType>(cst.getType());
      } else {
        result.can_compress = false;
        return result;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  4. src/net/http/clientserver_test.go

    		}
    	}
    
    	if cst.ts.Config.ErrorLog == nil {
    		cst.ts.Config.ErrorLog = log.New(testLogWriter{t}, "", 0)
    	}
    
    	switch mode {
    	case http1Mode:
    		cst.ts.Start()
    	case https1Mode:
    		cst.ts.StartTLS()
    	case http2Mode:
    		ExportHttp2ConfigureServer(cst.ts.Config, nil)
    		cst.ts.TLS = cst.ts.Config.TLSConfig
    		cst.ts.StartTLS()
    	default:
    		t.Fatalf("unknown test mode %v", mode)
    	}
    	cst.c = cst.ts.Client()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 46.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions.mlir

    // CHECK-DAG: %[[CST:.*]] = "tf.Const"() {{.*}} : () -> tensor<2x3x3x3x2xf32>
    
    // CHECK: %[[PARTITIONEDCALL_0:.*]] = "tf.PartitionedCall"(%arg0, %[[CST]])
    // CHECK-SAME: f = @composite_conv3d_with_relu_fn_1}>
    // CHECK-SAME: {_tfl_quant_trait = "fully_quantizable"
    
    // CHECK: %[[PARTITIONEDCALL_1:.*]] = "tf.PartitionedCall"(%arg0, %[[CST]])
    // CHECK-SAME: f = @composite_conv3d_with_relu6_fn_1
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/prepare-quantize-signed.mlir

    func.func @preparePrelu(%arg0: tensor<1x10x10x3xf32>) -> tensor<1x10x10x3xf32> {
      %cst = "arith.constant"() {value = dense<[[[1.66394591, 3.61694336, 2.0382936]]]> : tensor<1x1x3xf32>} : () -> tensor<1x1x3xf32>
      %prelu = "tfl.prelu"(%arg0, %cst) : (tensor<1x10x10x3xf32>, tensor<1x1x3xf32>) -> tensor<1x10x10x3xf32>
      func.return %prelu : tensor<1x10x10x3xf32>
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/canonicalize.mlir

      %arg19: tensor<1x640xf32>,
      %arg20: tensor<1x2048xf32>
    ) -> tensor<1x640xf32> {
      %cst = "tfl.no_value"() {value = unit} : () -> none
      %zero = "tfl.pseudo_const"() {value = dense<0.0> : tensor<640xf32>} : () -> tensor<640xf32>
      %0 = "tfl.lstm"(%arg0, %arg1, %arg2, %arg3, %arg4, %arg5, %arg6, %arg7, %arg8, %cst, %cst, %cst, %arg9, %arg10, %arg11, %arg12, %arg13, %zero, %arg19, %arg20, %arg15, %arg16, %arg17, %arg18) ({}) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/tests/tfl_while_outline.mlir

        %1 = func.call @WhileOp_cond(%arg0, %arg1, %cst) : (tensor<*xi32>, tensor<*xf32>, tensor<i32>) -> tensor<i1>
        "tfl.yield"(%1) : (tensor<i1>) -> ()
      },  {
      ^bb0(%arg0: tensor<*xi32>, %arg1: tensor<*xf32>):
        // CHECK: call @WhileOp_body
        // CHECK-SAME: (tensor<*xi32>, tensor<*xf32>, tensor<i32>)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/quantize.mlir

      func.return %2 : tensor<2x2xf32>
    
    // CHECK:  %[[cst:.*]] = "tfl.pseudo_const"(){{.*}}dense<-1.000000e-01> : tensor<2x2xf32>
    // CHECK:  return %[[cst]] : tensor<2x2xf32>
    }
    
    // CHECK-LABEL: DequantizeAndQuantize
    func.func @DequantizeAndQuantize() -> tensor<2x2x!quant.uniform<u8:f32, 7.8431372549019615E-4:128>> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:10:13 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/tests/tfl_legalize_hlo.mlir

      // CHECK:  %cst = arith.constant dense<2> : tensor<1xi32>
      // CHECK:  %4 = "tfl.reduce_max"(%arg0, %cst) <{keep_dims = false}> : (tensor<4x32x256xf32>, tensor<1xi32>) -> tensor<4x32xf32>
      // CHECK:  %5 = "tfl.arg_max"(%arg0, %cst) : (tensor<4x32x256xf32>, tensor<1xi32>) -> tensor<4x32xi32>
      // CHECK:  return %4, %5 : tensor<4x32xf32>, tensor<4x32xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 40.1K bytes
    - Viewed (0)
Back to top