- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Franko (0.12 sec)
-
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
auto input = block->getArgument(0); auto size = block->getArgument(3); // Subtract `input_rank` by 1 to get the item's rank, which is used as // `partial_position_shape`. auto input_rank = rewriter->create<TF::RankOp>( loc, tensorflow::GetTypeFromTFTensorShape({}, shape_dtype), input); auto partial_position_shape = rewriter->create<TF::SubOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
pkg/kubelet/eviction/helpers.go
type byEvictionPriority []evictionapi.Threshold func (a byEvictionPriority) Len() int { return len(a) } func (a byEvictionPriority) Swap(i, j int) { a[i], a[j] = a[j], a[i] } // Less ranks memory before all other resources, and ranks thresholds with no resource to reclaim last func (a byEvictionPriority) Less(i, j int) bool { _, jSignalHasResource := signalToResource[a[j].Signal]
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 53.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td
"ExtractSingleElementAsFloat($_self.cast<ElementsAttr>())">; // Checks if the value has rank at most 'n'. class HasRankAtMost<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && " "$0.getType().cast<ShapedType>().getRank() <= " # n>>; // Checks if the value has rank 'n'. class HasRank<int n> : Constraint< CPred<"$0.getType().cast<ShapedType>().hasRank() && "
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 16 20:31:41 UTC 2024 - 66.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/lower_tf.cc
// Reduce along all dimensions except the feature dimension. int64_t feature_dim = GetTensorFeatureDimIndex(rank, format); llvm::SmallVector<int64_t, 4> dims_to_reduce(rank - 1); std::iota(dims_to_reduce.begin(), dims_to_reduce.begin() + feature_dim, 0); std::iota(dims_to_reduce.begin() + feature_dim, dims_to_reduce.end(), feature_dim + 1); return GetI64ElementsAttr(dims_to_reduce, builder); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 74.9K bytes - Viewed (0) -
tensorflow/cc/gradients/math_grad.cc
Scope cpu_scope = scope.WithDevice("/cpu:0"); // [3] auto rank = Rank(cpu_scope, op.input(0)); // Normalize any negative indices in the reduction_axes to positive values. auto reduction_indices_pos = Mod(cpu_scope, Add(cpu_scope, reduction_indices, rank), rank); // [1] auto reduced = Cast(cpu_scope, reduction_indices_pos, DataType::DT_INT32); // [0, 1, 2]
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 25 18:20:20 UTC 2023 - 50.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td
``` }]; let arguments = (ins TF_BoolTensor:$condition, Arg<TF_Tensor, [{= A `Tensor` which may have the same shape as `condition`. If `condition` is rank 1, `x` may have higher rank, but its first dimension must match the size of `condition`.}]>:$then_value, Arg<TF_Tensor, [{= A `Tensor` with the same type and shape as `x`.}]>:$else_value ); let results = (outs
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 04:08:35 UTC 2024 - 90.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc
!filter_type.hasStaticShape()) return failure(); Value input = tf_op.getInput(); RankedTensorType input_type = mlir::dyn_cast<RankedTensorType>(input.getType()); // Only rank size four input will be only available by the tf.Conv2D // operator verification. if (!input_type || input_type.isDynamicDim(3)) { return failure(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 64.6K bytes - Viewed (0) -
tensorflow/c/c_api.h
const char* attr_name, const char* value, size_t length); // Set `num_dims` to -1 to represent "unknown rank". Otherwise, // `dims` points to an array of length `num_dims`. `dims[i]` must be // >= -1, with -1 meaning "unknown dimension". TF_CAPI_EXPORT extern void TF_SetAttrShape(TF_OperationDescription* desc,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); EXPECT_EQ(dims[0], returned_dims[0]); EXPECT_EQ(dims[1], returned_dims[1]); // Try to set 'unknown' with unknown rank on the shape and see that // it doesn't change. TF_GraphSetTensorShape(graph, feed_out_0, /*dims=*/nullptr, -1, s); EXPECT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 96.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-quantize-post-training.mlir
%5 = "quantfork.stats"(%4) {layerStats = dense<[-56.2916565, 122.922478]> : tensor<2xf32>} : (tensor<1x4xf32>) -> tensor<1x4xf32> %6 = "tfl.svdf"(%0, %1, %2, %3, %5) {fused_activation_function = "RELU", rank = 1 : i32} : (tensor<1x3xf32>, tensor<2x3xf32>, tensor<2x1xf32>, tensor<2xf32>, tensor<1x4xf32>) -> tensor<1x2xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 52.6K bytes - Viewed (0)