- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 146 for deim (0.04 sec)
-
tensorflow/compiler/mlir/tensorflow/ir/tf_ops_n_z.cc
int64_t index = item.index(); int64_t dim = item.value().getSExtValue(); if (dim < 0 || dim > output_rank) { return emitOptionalError(location, "out of range broadcast dim"); } if (is_broadcasted[dim]) { return emitOptionalError(location, "broadcast_dims has duplicates"); } broadcast_shape[dim] = min_rank_ty.getDimSize(index); is_broadcasted[dim] = true; }
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/lite/experimental/tac/transforms/device_transform_patterns.cc
IntegerAttr dim_i32; if (failed(ConvertToI32Attr(dim_int, &dim_i32))) return failure(); int dim = dim_i32.getInt(); if (dim < 0) dim += rank; const SmallVector<Value, 4>& slice_outputs = SliceOutputs( splitv_op, input, input_type, dim, splitv_op.getNumSplits(), &rewriter); rewriter.replaceOp(splitv_op, slice_outputs); return success(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
for (size_t i = 0; i < window_dimensions.size(); i++) { auto dim = window.add_dimensions(); dim->set_size(window_dimensions[i]); if (!window_strides.empty()) { dim->set_stride(window_strides[i]); } else { dim->set_stride(1); } if (!padding.empty()) { dim->set_padding_low(padding[i].first); dim->set_padding_high(padding[i].second); } else {
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/transforms/optimize_patterns.td
foreach actFnPair = [[TFL_ReluOp, TFL_AF_Relu], [TFL_Relu6Op, TFL_AF_Relu6], [TFL_Relu1Op, TFL_AF_Relu1]] in { defm : FuseActFnIntoConvOpPat<!cast<Op>(actFnPair[0]), !cast<ConstantStrAttr>(actFnPair[1])>; defm : FuseActFnIntoPoolOpPat<!cast<Op>(actFnPair[0]), !cast<ConstantStrAttr>(actFnPair[1])>; } class CanFuseConvOrDepthwiseConv<string is_depthwise> : Constraint<
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/c/eager/c_api.cc
if (h == nullptr) { status->status = tensorflow::errors::InvalidArgument("Invalid handle"); return -1; } int64_t dim = -1; status->status = tensorflow::unwrap(h)->Dim(dim_index, &dim); return dim; } const char* TFE_TensorHandleDeviceName(TFE_TensorHandle* h, TF_Status* status) { if (h == nullptr) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 09 08:11:23 UTC 2024 - 44K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool.cc
bool ceil_mode; // Rounding strategy (ceil or floor). }; // Rounds the dimension based on the ceil mode. int RoundDim(float dim, bool ceil_mode) { if (ceil_mode) { return std::ceil(dim); } return std::floor(dim); } // For H or W, calculate the output dimension for average pool. int CalculateSpatialOutDim(int in, int k, int p, int s, bool ceil_mode) {
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/utils/convert_tensor_test.cc
TF_ASSERT_OK(output_proto.status()); EXPECT_EQ(output_proto->dtype(), DT_FLOAT); EXPECT_EQ(output_proto->shape().dim_size(), 3); EXPECT_EQ(output_proto->shape().dim().at(0).size(), 1); EXPECT_EQ(output_proto->shape().dim().at(1).size(), 2); EXPECT_EQ(output_proto->shape().dim().at(2).size(), 3); } TEST(ConvertTypeToTensorSpecProtoTest, ScalarTensorType) { mlir::MLIRContext context; mlir::Builder b(&context);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.4K bytes - Viewed (0) -
docs/de/docs/tutorial/dependencies/global-dependencies.md
!!! tip "Tipp" Bevorzugen Sie die `Annotated`-Version, falls möglich. ```Python hl_lines="15" {!> ../../../docs_src/dependencies/tutorial012.py!} ``` Und alle Ideen aus dem Abschnitt über das [Hinzufügen von `dependencies` zu den *Pfadoperation-Dekoratoren*](dependencies-in-path-operation-decorators.md){.internal-link target=_blank} gelten weiterhin, aber in diesem Fall für alle *Pfadoperationen* in der Anwendung.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:10:13 UTC 2024 - 1.5K bytes - Viewed (0) -
src/text/template/parse/parse.go
if t.peek().typ == itemLeftDelim { delim := t.next() if t.nextNonSpace().typ == itemDefine { newT := New("definition") // name will be updated once we know it. newT.text = t.text newT.Mode = t.Mode newT.ParseName = t.ParseName newT.startParse(t.funcs, t.lex, t.treeSet) newT.parseDefinition() continue } t.backup2(delim) } switch n := t.textOrAction(); n.Type() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 21.3K bytes - Viewed (0) -
docs/de/docs/advanced/behind-a-proxy.md
Öffnen Sie nun die URL mit dem Port für Traefik, einschließlich des Pfadpräfixes: <a href="http://127.0.0.1:9999/api/v1/app" class="external-link" target="_blank">http://127.0.0.1:9999/api/v1/app</a>. Wir bekommen die gleiche Response: ```JSON { "message": "Hello World", "root_path": "/api/v1" } ``` Diesmal jedoch unter der URL mit dem vom Proxy bereitgestellten Präfixpfad: `/api/v1`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 20:30:07 UTC 2024 - 13.1K bytes - Viewed (0)