Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 88 for deim (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/add_dump_tensor_op_stablehlo.mlir

        %3 = stablehlo.concatenate %2, %1, dim = 0 : (tensor<1x3xf32>, tensor<1x3xf32>) -> tensor<2x3xf32>
        return %3 : tensor<2x3xf32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 18K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

      for (const std::optional<llvm::ArrayRef<int64_t>>& shape : shapes) {
        TensorShapeProto& tshape = *shape_list.add_shape();
        if (shape.has_value()) {
          for (int64_t dim : *shape) {
            tshape.add_dim()->set_size(mlir::ShapedType::isDynamic(dim) ? -1 : dim);
          }
        } else {
          tshape.set_unknown_rank(true);
        }
      }
    
      // If shape is already set, override it. This can happen if we import
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/tpu-variable-runtime-reformatting.mlir

    // Tests that the pass can correctly transform a training loop with 2 replicas.
    
    !tf_res_f32 = tensor<*x!tf_type.resource<tensor<f32>>>
    !tf_res_md_f32 = tensor<*x!tf_type.resource<tensor<3x3x1x32xf32>>> // Multi-dim f32
    
    module attributes {tf.versions = {bad_consumers = [], min_consumer = 0 : i32, producer = 268 : i32}} {
      // CHECK-LABEL: func @main
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 25.4K bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    					if v != byte(l+i) {
    						t.Fatalf("in %d,%d: Next(%d)[%d] = %d, want %d", i, j, k, l, v, l+i)
    					}
    				}
    			}
    		}
    	}
    }
    
    var readBytesTests = []struct {
    	buffer   string
    	delim    byte
    	expected []string
    	err      error
    }{
    	{"", 0, []string{""}, io.EOF},
    	{"a\x00", 0, []string{"a\x00"}, nil},
    	{"abbbaaaba", 'b', []string{"ab", "b", "b", "aaab"}, nil},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:31:36 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  10. docs/de/docs/python-types.md

    !!! note "Hinweis"
        Wenn Sie ein Python-Experte sind und bereits alles über Typhinweise wissen, überspringen Sie dieses Kapitel und fahren Sie mit dem nächsten fort.
    
    ## Motivation
    
    Fangen wir mit einem einfachen Beispiel an:
    
    ```Python
    {!../../../docs_src/python_types/tutorial001.py!}
    ```
    
    Dieses Programm gibt aus:
    
    ```
    John Doe
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:29:25 UTC 2024
    - 19.3K bytes
    - Viewed (0)
Back to top