- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for getWindowStrides (0.3 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/optimize_layout.cc
}; DenseI64ArrayAttr new_window_dimensions = getInvertPermutedAttr(reduce_op.getWindowDimensions()); DenseI64ArrayAttr new_window_strides = getInvertPermutedAttr(reduce_op.getWindowStrides()); DenseI64ArrayAttr new_base_dilations = getInvertPermutedAttr(reduce_op.getBaseDilations()); DenseI64ArrayAttr new_win_dilations = getInvertPermutedAttr(reduce_op.getWindowDilations());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 21:59:06 UTC 2024 - 8.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
const uint64_t rank = rw.getWindowDimensions().size(); if (rank <= 3 || rank > 5) return false; if (rw.getWindowStrides().has_value()) { window_strides->insert(window_strides->end(), rw.getWindowStrides()->getValues<int64_t>().begin(), rw.getWindowStrides()->getValues<int64_t>().end()); } else { window_strides->resize(rank, 1); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/defer_activation_transpose.cc
PermuteI64ArrayAttr(rewriter, op.getWindowDimensions(), kNchwToNhwcPermutation), /*window_strides=*/ PermuteI64ArrayAttr(rewriter, op.getWindowStrides(), kNchwToNhwcPermutation), /*base_dilations=*/ PermuteI64ArrayAttr(rewriter, op.getBaseDilations(), kNchwToNhwcPermutation),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
// Returns the stride amount for the height and width, respectively. std::pair<int64_t, int64_t> GetStrides(stablehlo::ConvolutionOp op) const { std::optional<ArrayRef<int64_t>> window_strides_attr = op.getWindowStrides(); if (!window_strides_attr.has_value()) { return {1, 1}; // Default values. } auto window_strides_attr_value = window_strides_attr.value();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
SmallVector<Type> result_types{op.getResult().getType()}; ReplaceTfOpWithNewOp<TF::XlaConvV2Op>( rewriter, op, op.getResult().getType(), op.getLhs(), op.getRhs(), op.getWindowStrides(), op.getPadding(), op.getLhsDilation(), op.getRhsDilation(), op.getFeatureGroupCount(), op.getDimensionNumbers(), op.getPrecisionConfig(), 1); return ::mlir::success(); }; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 22:07:10 UTC 2024 - 170.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
window_dilations, padding; if (input_ty.hasStaticShape() && matchPattern(op.getWindowDimensions(), m_Constant(&window_dimensions)) && matchPattern(op.getWindowStrides(), m_Constant(&window_strides)) && matchPattern(op.getBaseDilations(), m_Constant(&base_dilations)) && matchPattern(op.getWindowDilations(), m_Constant(&window_dilations)) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
auto window_dimensions = builder_.CreateVector(std::vector<int64_t>(wd.begin(), wd.end())); auto window_strides = builder_.CreateVector( mlir::GetOptionalVector<int64_t>(reduce_window_op.getWindowStrides())); auto base_dilations = builder_.CreateVector( mlir::GetOptionalVector<int64_t>(reduce_window_op.getBaseDilations())); auto window_dilations = builder_.CreateVector(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc
window_dilations, padding; if (!(matchPattern(op.getWindowDimensions(), m_Constant(&window_dimensions)) && matchPattern(op.getWindowStrides(), m_Constant(&window_strides)) && matchPattern(op.getBaseDilations(), m_Constant(&base_dilations)) && matchPattern(op.getWindowDilations(), m_Constant(&window_dilations)) &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 291.8K bytes - Viewed (0)