Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for CST (0.02 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/tensorflow/tests/duplicate_shape_determining_constants.mlir

      %cst = "tf.Const"() {device = "", value = dense<[1]> : tensor<1xi32>} : () -> tensor<1xi32>
      // idx 2 should be a compile time constant
      %0 = "tf.GatherV2"(%arg0, %arg1, %cst) {batch_dims = 1: i64} : (tensor<16x4xf32>, tensor<16xi32>, tensor<1xi32>) -> tensor<16xf32>
    
      // Just to introduce an extra use for %cst.
      %1 = "tf.AddV2"(%cst, %cst) {device = ""} : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Nov 24 07:44:46 UTC 2022
    - 11K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/einsum.mlir

      func.return %0 : tensor<3x5x4xf32>
      // CHECK-LABEL: unary_einsum_reduce_sum_transpose
      // CHECK-DAG: %[[cst:.*]] = arith.constant dense<3> : tensor<1xi32>
      // CHECK-DAG: %[[cst_1:.*]] = arith.constant dense<[0, 2, 1]> : tensor<3xi32>
      // CHECK: %[[v0:.*]] = "tf.Sum"(%arg0, %[[cst]]) <{keep_dims = false}> : (tensor<3x4x5x6xf32>, tensor<1xi32>) -> tensor<3x4x5xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/lift_quantizable_spots_as_functions_drq.mlir

    func.func @lift_float_batch_matmul(%arg0: tensor<4x4x3xf32>) -> (tensor<4x4x3xf32>) {
      %cst = "tf.Const"() {device = "", value = dense<1.0> : tensor<4x3x3xf32>} : () -> tensor<4x3x3xf32>
      %0 = "tf.BatchMatMulV2"(%arg0, %cst) {adj_x = false, adj_y = false, device = ""} : (tensor<4x4x3xf32>, tensor<4x3x3xf32>) -> tensor<4x4x3xf32>
      return %0 : tensor<4x4x3xf32>
    
    // CHECK-DAG: %[[CST:.*]] = "tf.Const"() {{.*}} : () -> tensor<4x3x3xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. 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)
  6. tensorflow/compiler/mlir/lite/tests/lower-static-tensor-list.mlir

      %cst = arith.constant dense<3> : tensor<1xi32>
      %0 = "tf.TensorListFromTensor"(%arg0, %cst) : (tensor<?x3xf32>, tensor<1xi32>) -> tensor<!tf_type.variant<tensor<3xf32>>>
      %1 = "tf.TensorListStack"(%0, %cst) {num_elements = 2 : i64} : (tensor<!tf_type.variant<tensor<3xf32>>>, tensor<1xi32>) -> tensor<2x3xf32>
      func.return %1 : tensor<2x3xf32>
    
    // CHECK:  [[ELEM_SHAPE:%cst.*]] = arith.constant dense<3> : tensor<1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 39.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

          func.func @init_func_restore_op() -> () attributes {tf_saved_model.exported_names = ["init"], tf_saved_model.initializer_type = "restore_op"} {
            %cst = "tf.Const"() {device = "", value = dense<[1.0, 2.0]> : tensor<2xf32>} : () -> tensor<2xf32>
            %add = "tf.AddV2"(%cst, %cst) : (tensor<2xf32>, tensor<2xf32>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    func.func @decompose_batch_norm(%arg0: tensor<*xf32>) -> (tensor<*xf32>) {
      %cst = "tf.Const"() {value = dense<1.000000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
      %cst_0 = "tf.Const"() {value = dense<0.500000e+00> : tensor<2xf32>} : () -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  9. src/net/http/responsecontroller_test.go

    	continuec := make(chan struct{})
    	cst := newClientServerTest(t, mode, HandlerFunc(func(w ResponseWriter, r *Request) {
    		ctl := NewResponseController(w)
    		w.Write([]byte("one"))
    		if err := ctl.Flush(); err != nil {
    			t.Errorf("ctl.Flush() = %v, want nil", err)
    			return
    		}
    		<-continuec
    		w.Write([]byte("two"))
    	}))
    
    	res, err := cst.c.Get(cst.ts.URL)
    	if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:20:31 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/lift_quantizable_spots_as_functions_fusion.td

      [(IsNotInLiftedFunc $res), (FloatValueEquals<"0"> $cst)], [], (addBenefit 10)>;
    
    def LiftDotGeneralWithRelu : Pat<
      (StableHLO_MaxOp:$res
        (StableHLO_DotGeneralOp
            $lhs, $rhs, $dot_dimension_numbers, $precision_config),
        (StableHLO_ConstantOp $cst)),
      (LiftAsTFXlaCallModule<"composite_dot_general_with_relu_fn">
        (ArgumentList $lhs, $rhs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top