Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 233 for reshape (0.2 sec)

  1. tensorflow/c/c_api_experimental_test.cc

      TFE_Op* reshape_op = TFE_NewOp(tfe_context_, "Reshape", status_);
      CHECK_EQ(TF_OK, TF_GetCode(status_)) << TF_Message(status_);
      TFE_OpSetAttrType(reshape_op, "T", TF_FLOAT);
      TFE_OpSetAttrType(reshape_op, "Tshape", TF_INT32);
      CheckOutputShapes(reshape_op,
                        /* input_shapes*/ {unknown_shape(), unknown_shape()},
                        /* input_tensors*/ {nullptr, tensor_1X6},
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 17 22:27:52 GMT 2023
    - 13.1K bytes
    - Viewed (1)
  2. RELEASE.md

            `max_batch_size` for building TensorRT engines. Add parameters
            `use_dynamic_shape` to enable dynamic shape support. The default is to
            disable dynamic shape support. Add `dynamic_shape_profile_strategy` for
            selecting a dynamic shape profile strategy. The default is profile
            strategy is `Range`.
        *   Issue a warning when function get_tensorrt_rewriter_config is used.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  3. tensorflow/c/c_api_test.cc

      EXPECT_TRUE(
          std::equal(std::begin(partial_shape), std::end(partial_shape), values));
    }
    
    TEST_F(CApiAttributesTest, ShapeList) {
      const int64_t shape_1[] = {1, 3};
      const int64_t shape_2[] = {2, 4, 6};
      const int64_t* list[] = {&shape_1[0], &shape_2[0]};
      const size_t list_size = TF_ARRAYSIZE(list);
      const int ndims[] = {TF_ARRAYSIZE(shape_1), TF_ARRAYSIZE(shape_2)};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  4. src/cmd/cgo/internal/test/issue24161res/restype.go

    Austin Clements <******@****.***> 1683224724 -0400
    Go
    - Registered: Tue Mar 26 11:13:08 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 486 bytes
    - Viewed (0)
  5. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

    David P. Baker <******@****.***> 1641482883 -0800
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  6. istioctl/pkg/util/handlers/handlers.go

    }
    
    func InferPodsFromTypedResource(name, defaultNS string, factory cmdutil.Factory) ([]string, string, error) {
    	resname, ns := inferNsInfo(name, defaultNS)
    	if !strings.Contains(resname, "/") {
    		return []string{resname}, ns, nil
    	}
    	client, podName, namespace, selector, err := getClientForResource(resname, ns, factory)
    	if err != nil {
    		return []string{}, "", err
    	}
    	if podName != "" {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Feb 06 15:01:41 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. tensorflow/c/c_api.cc

        if (shapes_and_types == nullptr) return nullptr;
    
        for (const auto& p : *shapes_and_types) {
          auto* out_shape_and_type = handle_data.add_shape_and_type();
          ic->ShapeHandleToProto(p.shape, out_shape_and_type->mutable_shape());
          out_shape_and_type->set_dtype(p.dtype);
          *out_shape_and_type->mutable_type() = p.type;
        }
      }
      string str_data;
      handle_data.SerializeToString(&str_data);
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/escape/ArrayBasedUnicodeEscaperTest.java

        assertEquals("<tab>Fish <and> Chips<newline>", escaper.escape("\tFish & Chips\n"));
    
        // Verify that everything else is left unescaped.
        String safeChars = "\0\u0100\uD800\uDC00\uFFFF";
        assertEquals(safeChars, escaper.escape(safeChars));
    
        // Ensure that Unicode escapers behave correctly wrt badly formed input.
        String badUnicode = "\uDC00\uD800";
        try {
          escaper.escape(badUnicode);
          fail("should fail for bad Unicode");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 07 23:02:38 GMT 2024
    - 5K bytes
    - Viewed (1)
  9. android/guava/src/com/google/common/escape/Escapers.java

          @Override
          @CheckForNull
          protected char[] escape(int cp) {
            // If a code point maps to a single character, just escape that.
            if (cp < Character.MIN_SUPPLEMENTARY_CODE_POINT) {
              return escaper.escape((char) cp);
            }
            // Convert the code point to a surrogate pair and escape them both.
            // Note: This code path is horribly slow and typically allocates 4 new
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 10.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/escape/EscapersTest.java

        assertEquals("<hello><hi><lo>", charEscaper.escape("x\uD800\uDC00"));
        assertEquals("<hello><hi><lo>", unicodeEscaper.escape("x\uD800\uDC00"));
    
        // Test that wrapped escapers acquire good Unicode semantics.
        assertEquals("<hi><hello><lo>", charEscaper.escape("\uD800x\uDC00"));
        try {
          unicodeEscaper.escape("\uD800x\uDC00");
          fail("should have failed for bad Unicode input");
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 5K bytes
    - Viewed (0)
Back to top