Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 4 of 4 for checkpoint (0.06 seconds)

  1. tensorflow/c/checkpoint_reader.h

    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    #include "tensorflow/core/util/tensor_slice_reader.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    // A wrapper around BundleReader (for V2 checkpoints) and
    // checkpoint::TensorSliceReader (for V1), that is more easily SWIG wrapped for
    // other languages.
    //
    // The class currently only interacts with single-slice (i.e., non-partitioned)
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  2. tensorflow/c/checkpoint_reader.cc

    #include "tensorflow/core/util/saved_tensor_slice_util.h"
    #include "tensorflow/core/util/tensor_bundle/naming.h"
    #include "tensorflow/core/util/tensor_bundle/tensor_bundle.h"
    
    namespace tensorflow {
    namespace checkpoint {
    
    class TensorSliceReader;
    
    CheckpointReader::CheckpointReader(const string& filename, TF_Status* status)
        : reader_(nullptr),
          v2_reader_(nullptr),
          var_to_shape_map_(nullptr),
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Tue Feb 17 18:49:14 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. tests/test_stream_cancellation.py

    ]
    
    
    app = FastAPI()
    
    
    @app.get("/stream-raw", response_class=StreamingResponse)
    async def stream_raw() -> AsyncIterable[str]:
        """Async generator with no internal await - would hang without checkpoint."""
        i = 0
        while True:
            yield f"item {i}\n"
            i += 1
    
    
    @app.get("/stream-jsonl")
    async def stream_jsonl() -> AsyncIterable[int]:
        """JSONL async generator with no internal await."""
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  4. SECURITY.md

    variables from your model are also going to be untrusted. That means that if
    your code interacts with the filesystem, network, etc. and uses checkpointed
    variables as part of those interactions (ex: using a string variable to build a
    filesystem path), a maliciously created checkpoint might be able to change the
    targets of those operations, which could result in arbitrary
    read/write/executions.
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Oct 16 16:10:43 GMT 2024
    - 9.6K bytes
    - Click Count (0)
Back to Top