Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for depthwise_ (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize_composite_functions.cc

        return success();
      }
    
      OpSet target_opset_;
    };
    
    // To calculate per-channel scale and offset, weight of depthwise was reshaped
    // to [H, W, 1, InxMul]. After scale and offset has been calculated, this
    // pattern gets called and restores the weight of depthwise back
    // into [H, W, In, Mul]
    class RestoreWeightShapePattern
        : public OpRewritePattern<TF::PartitionedCallOp> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          strides: Sequence[int] = (1, 2, 2, 1),
          dilations: Sequence[int] = (1, 1, 1, 1),
          padding: str = 'SAME',
      ):
        class DepthwiseConvModel(module.Module):
          """A simple model with a single depthwise conv2d, bias and relu."""
    
          def __init__(self):
            self.out_channel_size = filter_shape[2] * filter_shape[3]
    
            # This ensures filters will have different value range per out channel
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
Back to top