- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for inputs_ty (0.24 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
LogicalResult XlaVariadicSortOp::verify() { XlaVariadicSortOp op = *this; const auto &inputs_ty = op.getInputs().getType(); int n_inputs = inputs_ty.size(); auto input_ty_0 = inputs_ty[0].cast<ShapedType>(); if (input_ty_0.hasStaticShape()) { for (int i = 1; i < n_inputs; ++i) { auto input_ty_i = inputs_ty[i].cast<ShapedType>(); if (input_ty_i.hasStaticShape() &&
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/ir/tf_ops_a_m.cc
DataFormatVecPermuteOp op = *this; auto input_ty = mlir::dyn_cast<RankedTensorType>(op.getX().getType()); if (!input_ty) return success(); int rank = input_ty.getRank(); if (rank != 1 && rank != 2) return op.emitOpError("requires input of rank 1 or 2"); if (rank == 1) { int64_t dim0 = input_ty.getDimSize(0); if (dim0 != ShapedType::kDynamic && dim0 != 4 && dim0 != 2)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 146.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize.cc
// i.e., num_input/input_last_dim = num_result/k auto input_ty = mlir::dyn_cast_or_null<ShapedType>(value.getType()); auto result_ty = mlir::dyn_cast<ShapedType>(slice_op.getType()); if (!input_ty || !result_ty) return std::nullopt; if (!input_ty.hasStaticShape() || !result_ty.hasStaticShape()) return std::nullopt; if (!input_ty.getRank() || !result_ty.getRank()) return std::nullopt;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
const RankedTensorType input_ty = input.getType().dyn_cast_or_null<RankedTensorType>(); const RankedTensorType filter_ty = filter.getType().dyn_cast_or_null<RankedTensorType>(); // If indeed both input type & filter type are ranked type and have ranks. // We will need to check their ranks are valid. if ((input_ty && input_ty.hasRank() && input_ty.getRank() != 4) ||
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/transforms/shape_inference.cc
ArrayRef<int64_t> shape = arg_shapes[i]; Type element_type; if (auto input_ty = mlir::dyn_cast<RankedTensorType>(func_type.getInput(i))) { if (input_ty.getRank() != shape.size()) { return failure(); } element_type = input_ty.getElementType(); } else { auto unranked_input_ty =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
pkg/controller/statefulset/stateful_set_control_test.go
func TestStatefulSetAvailability(t *testing.T) { tests := []struct { name string inputSTS *apps.StatefulSet expectedActiveReplicas int32 readyDuration time.Duration }{ { name: "replicas running for required time, when minReadySeconds is enabled", inputSTS: setMinReadySeconds(newStatefulSet(1), int32(3600)),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 07 19:01:47 UTC 2024 - 108.7K bytes - Viewed (0)