Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bias_len (0.21 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      int64_t bias_len = bias_ty.getDimSize(0);
      if (feature_dim != ShapedType::kDynamic && bias_len != ShapedType::kDynamic &&
          feature_dim != bias_len) {
        return op.emitOpError()
               << "requires channel dimension and feature dimension to match; "
                  "found "
               << feature_dim << " and " << bias_len << ", respectively";
      }
      return success();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test.py

            input_shape,
            filter_shape,
            self._input_saved_model_path,
            bias_fn,
            activation_fn,
            has_batch_norm,
            strides,
            dilations,
            'SAME',
            has_func_alias,
        )
        # TODO: b/331809306 - Investigate why these test fail then re-enable.
        if has_batch_norm and (bias_fn or not input_shape_dynamic):
          return
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 51.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

            """
            self.filters = np.random.uniform(low=-1.0, high=1.0, size=weight_shape)
    
            if bias_fn is not None:
              self.bias = np.random.uniform(
                  low=-1.0, high=1.0, size=weight_shape[-1]
              )
    
          def has_reshape(self) -> bool:
            return self.bias_fn() and self.bias_size != self.filters.shape[-1]
    
          @def_function.function
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    ```
    offset = max_diag_len - diag_len(d) ; if (`align` in {RIGHT_LEFT, RIGHT_RIGHT}
                                               and `d >= 0`) or
                                             (`align` in {LEFT_RIGHT, RIGHT_RIGHT}
                                               and `d <= 0`)
             0                          ; otherwise
    ```
    where `diag_len(d) = min(cols - max(d, 0), rows + min(d, 0))`.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top