- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 232 for stride_w (0.25 sec)
-
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
input.getType().cast<ShapedType>().getElementType()); inferredReturnTypes.assign({result_type}); return success(); } auto stride_h = op.getStrideHAttr().getInt(); auto stride_w = op.getStrideWAttr().getInt(); auto dilation_h = op.getDilationHFactorAttr().getInt(); auto dilation_w = op.getDilationWFactorAttr().getInt();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
return op.emitOpError() << "requires begin, end and strides to have the " "same number of elements"; } } // If strides are constants, verify that none of the element is zero. DenseIntElementsAttr strides; if (matchPattern(op.getStrides(), m_Constant(&strides))) { if (llvm::is_contained(strides.getValues<APInt>(), 0))
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/g3doc/space_to_depth.md
kernel\_size, 3, out\_channel]. Space to depth is to transform this first convolution's input to [batch\_size, height // stride, width // stride, 3 \* stride \* stride] and the kernel to [kernel\_size // stride, kernel\_size // stride, 3 \* stride \* stride, out\_channel] to improve TPU MXU utilization. ![drawings](images/space_to_depth_transform.png)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Oct 24 02:51:43 UTC 2020 - 8.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
tensorflow/c/eager/dlpack_test.cc
dltensor_in->dtype = {kDLFloat, 32, 1}; dltensor_in->shape = shape.data(); dltensor_in->strides = strides.data(); TFE_TensorHandle* handle = TFE_HandleFromDLPack(&dlm_in, status, ctx); ASSERT_NE(handle, nullptr) << TF_Message(status) << " (shape=[" << absl::StrJoin(shape, ",") << "], strides=[" << absl::StrJoin(strides, ",") << "])"; auto* dlm_out =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jun 30 03:04:46 UTC 2023 - 4.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_layout_assignment_to_nhwc.mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 4.5K bytes - Viewed (0) -
tensorflow/c/eager/dlpack.cc
// 1) nullptr indicates tensor is compact and row-majored. // 2) fill in the strides array as the real case for compact row-major data. // Here we choose option 2, since some frameworks didn't handle the strides // argument properly. dlm_tensor->dl_tensor.strides = stride_arr->data(); dlm_tensor->dl_tensor.byte_offset = 0; // TF doesn't handle the strides and byte_offsets here return static_cast<void*>(dlm_tensor); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc
GetI32VectorFromDenseI64CompositeAttr(composite_attrs, "padding", &padding); data.ph = padding[0]; data.pw = padding[1]; std::vector<int32_t> strides; GetI32VectorFromDenseI64CompositeAttr(composite_attrs, "stride", &strides); data.sh = strides[0]; data.sw = strides[1]; data.ceil_mode = GetBoolFromCompositeAttr(composite_attrs, "ceil_mode").value();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 23:16:05 UTC 2024 - 9.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc
if (strides[0] != 1 || strides[3] != 1) return 1; // Space to depth only supports height_stride == width_stride case. if (strides[1] != strides[2]) return 1; return strides[1]; } void TPUSpaceToDepthPass::runOnOperation() { std::optional<tf_device::ClusterFuncOp> cluster_func; // Space to depth only supports training loop.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 29.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/layout_optimization_layout_assignment_to_nchw.mlir
// CHECK-SAME: data_format = "NCHW" // CHECK-SAME: dilations = [1, 4, 2, 3] // CHECK-SAME: explicit_paddings = [1, 2, 7, 8, 3, 4, 5, 6] // CHECK-SAME: padding = "EXPLICIT" // CHECK-SAME: strides = [5, 8, 6, 7] // CHECK-SAME: (tensor<1x3x32x32xf32>, tensor<1x1x3x8xf32>) -> tensor<1x8x7x7xf32> // CHECK: %[[RES_PERM:.*]] = "tf.Const"() <{value = dense<[0, 2, 3, 1]> : tensor<4xi64>}>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 30 06:52:55 UTC 2023 - 9K bytes - Viewed (0)