Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for t_in (0.04 sec)

  1. tensorflow/c/c_api_test.cc

      auto deallocator = [](void* data, size_t len, void* arg) {};
      unique_tensor_ptr t_in(TF_NewTensor(TF_STRING, nullptr, 0, &tstr[0],
                                          sizeof(tstr), deallocator, nullptr),
                             TF_DeleteTensor);
    
      // Create a TF_Operation with the attribute t_in
      auto desc = init("tensor");
      TF_SetAttrTensor(desc, "v", t_in.get(), s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

          when {
            first -> delta / DAMP
            else -> delta / 2
          }
        delta += (delta / numpoints)
        var k = 0
        while (delta > ((BASE - TMIN) * TMAX) / 2) {
          delta /= (BASE - TMIN)
          k += BASE
        }
        return k + (((BASE - TMIN + 1) * delta) / (delta + SKEW))
      }
    
      private fun String.requiresEncode(
        pos: Int,
        limit: Int,
      ): Boolean {
        for (i in pos until limit) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. docs/vi/docs/tutorial/first-steps.md

    # Những bước đầu tiên
    
    Tệp tin FastAPI đơn giản nhất có thể trông như này:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Sao chép sang một tệp tin `main.py`.
    
    Chạy live server:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/graph_function.h

    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/platform/refcount.h"
    namespace tensorflow {
    namespace tracing {
    namespace graph {
    using tensorflow::AbstractFunction;
    // Thin wrapper around a FunctionDef.
    class GraphFunction : public AbstractFunction {
     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. docs/vi/docs/tutorial/index.md

    Do đó bạn có thể quay lại và tìm chính xác những gì bạn cần.
    
    ## Chạy mã
    
    Tất cả các code block có thể được sao chép và sử dụng trực tiếp (chúng thực chất là các tệp tin Python đã được kiểm thử).
    
    Để chạy bất kì ví dụ nào, sao chép code tới tệp tin `main.py`, và bắt đầu `uvicorn` với:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. docs/vi/docs/index.md

    </div>
    
    <details markdown="1">
    <summary>Về lệnh <code>uvicorn main:app --reload</code>...</summary>
    
    Lệnh `uvicorn main:app` tham chiếu tới những thành phần sau:
    
    * `main`: tệp tin `main.py` (một Python "module").
    * `app`: object được tạo trong tệp tin `main.py` tại dòng `app = FastAPI()`.
    * `--reload`: chạy lại server sau khi code thay đổi. Chỉ sử dụng trong quá trình phát triển.
    
    </details>
    
    ### Kiểm tra
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  7. src/bytes/bytes_test.go

    	for _, tt := range RunesTests {
    		tin := []byte(tt.in)
    		a := Runes(tin)
    		if !slices.Equal(a, tt.out) {
    			t.Errorf("Runes(%q) = %v; want %v", tin, a, tt.out)
    			continue
    		}
    		if !tt.lossy {
    			// can only test reassembly if we didn't lose information
    			s := string(a)
    			if s != tt.in {
    				t.Errorf("string(Runes(%q)) = %x; want %x", tin, s, tin)
    			}
    		}
    	}
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Mon Aug 19 19:09:04 UTC 2024
    - 61.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Lists.java

        ArrayList<E> list = new ArrayList<>(capacity);
        Collections.addAll(list, elements);
        return list;
      }
    
      /**
       * Creates a <i>mutable</i> {@code ArrayList} instance containing the given elements; a very thin
       * shortcut for creating an empty list then calling {@link Iterables#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * GWT emulated version of {@link com.google.common.collect.ImmutableSortedMap}. It's a thin wrapper
     * around a {@link java.util.TreeMap}.
     *
     * @author Hayward Chan
     */
    @ElementTypesAreNonnullByDefault
    public final class ImmutableSortedMap<K, V> extends ForwardingImmutableMap<K, V>
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 27 19:19:19 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Sets.java

        Collections.addAll(set, elements);
        return set;
      }
    
      /**
       * Creates a <i>mutable</i> {@code HashSet} instance containing the given elements. A very thin
       * convenience for creating an empty set then calling {@link Collection#addAll} or {@link
       * Iterables#addAll}.
       *
       * <p><b>Note:</b> if mutability is not required and the elements are non-null, use {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
Back to top