Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 196 for conv2 (0.12 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

        ConstBoolAttrTrue, $asymmetric_quantize_inputs),
      [(HasRank<2> $input),
       (AreLastTwoDimsTransposed $perm_value),
       (IsBoolAttrEqual<"false"> $adj_y)]>;
    
    // Replace conv-->transpose-->add with conv-->add-->transpose
    // The bias needs only reshape (i.e. ReshapeNCHWBiasToNHWC) and not transpose
    // because the bias's shape simply changes from NxCx1x1 to Nx1x1xC.
    def ReorderNCHWTransposeAdd : Pat <
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_to_mhlo_int_test.cc

        quantization_axis = -1 : i64, quantization_min_val = -128 : i64,
        quantization_max_val = 127 : i64
      } : (
        tensor<3x3x10x20x!tf_type.qint8>, tensor<f32>, tensor<i32>
      ) -> tensor<3x3x10x20xf32>
      %0 = "tf.Conv2D"(%input, %filter_new) {
        Tin = "tfdtype$DT_FLOAT", Tout = "tfdtype$DT_FLOAT",
        attr_map = "", batch_group_count = 1 : i64,
        explicit_padding = [], feature_group_count = 1 : i64, lhs_dilation = [1, 1],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 03 01:03:21 UTC 2024
    - 35.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema.fbs

    table Conv2DOptions {
      padding:Padding;
      stride_w:int;
      stride_h:int;
      fused_activation_function:ActivationFunctionType;
      dilation_w_factor:int = 1;
      dilation_h_factor:int = 1;
      // Parameters for Conv2D version 8 or above.
      // When set, quantized_bias_type defines the dtype for both bias and accumulator.
      quantized_bias_type: TensorType;
    }
    
    // Options for both Conv3D and Conv3DTranspose.
    table Conv3DOptions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

      }
      func @_func(%input: tensor<2x112x112x12xf32>, %filter: tensor<7x7x3x64xf32>) {
        %filter_transform = "tf.Pad/tf.Transpose/tf.Reshape"(%filter): tensor<7x7x3x64xf32>) -> tensor<4x4x12x64xf32>
        %conv = "tf.Conv2D"(%input, %filter_transfrom) {strides = [1, 1, 1, 1]}: (tensor<2x112x112x12xf32>, tensor<4x4x12x64xf32>) -> tensor<2x112x112x64xf32>
      }
    }
    ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  5. RELEASE.md

    *   Keras:
    
        *   `tf.keras.layers.Conv` now includes a public `convolution_op` method.
            This method can be used to simplify the implementation of Conv
            subclasses. There are two primary ways to use this new method. The first
            is to use the method directly in your own `call` method: `python class
            StandardizedConv2D(tf.keras.layers.Conv2D): def call(self, inputs):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/transforms/optimize.cc

      // can let binary op to broadcast elements.
      if (elements_depth == 1) {
        return true;
      }
    
      // In TFLite Conv2D uses OHWI format for filter, and 1HWO for Depthwise Conv.
      // For conv:
      // Check if last dimension in filter equals the first dimension
      // For depthwise conv:
      // Check if the first in filter dimension equals the first dimension.
      if (filter_shape.empty() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/optimize.mlir

      // CHECK: %[[dq:.*]] = "tfl.dequantize"(%[[q]])
      // CHECK: %[[conv:.*]] = "tfl.conv_2d"(%arg0, %[[dq]], %[[cst]])
      // CHECK: return %[[conv]] : tensor<256x8x7x3xf32>
    }
    
    // CHECK-LABEL: @fuseMulIntoFullyConnectedWithOptionalAttribute
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/typecheck/typecheck.go

    			return false
    		}
    	}
    
    	// DefaultLit is necessary for non-constants too: n might be 1.1<<k.
    	n = DefaultLit(n, types.Types[types.TINT])
    	*np = n
    
    	return true
    }
    
    func Conv(n ir.Node, t *types.Type) ir.Node {
    	if types.IdenticalStrict(n.Type(), t) {
    		return n
    	}
    	n = ir.NewConvExpr(base.Pos, ir.OCONV, nil, n)
    	n.SetType(t)
    	n = Expr(n)
    	return n
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 19:08:34 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td

          }
          func @_func(%input: tensor<2x112x112x12xf32>, %filter: tensor<7x7x3x64xf32>) {
            %filter_transform = "tf.Pad/tf.Transpose/tf.Reshape"(%filter): tensor<7x7x3x64xf32>) -> tensor<4x4x12x64xf32>
            %conv = "tf.Conv2D"(%input, %filter_transfrom) {strides = [1, 1, 1, 1]}: (tensor<2x112x112x12xf32>, tensor<4x4x12x64xf32>) -> tensor<2x112x112x64xf32>
          }
        }
        ```
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 99.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                (i != out_batch_dim && out_type.isDynamicDim(i))) {
              return false;
            }
          }
        }
    
        // All ones in "lhs_dilation" means this "mhlo.conv" op should be
        // converted to "tf.Conv2D" or "tf.DepthwiseConv2dNativeOp".
        auto lhs_dilation = conv_op.getLhsDilation().value();
        if (!lhs_dilation.isSplat() || lhs_dilation.getSplatValue<int64_t>() != 1)
          return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top