Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for alice (0.14 sec)

  1. tensorflow/c/c_api.cc

    #include "tensorflow/core/framework/versions.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/graph/validate.h"
    #include "tensorflow/core/lib/gtl/array_slice.h"
    #include "tensorflow/core/platform/coding.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/mem.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/protobuf.h"
    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)
  2. tensorflow/c/checkpoint_reader.cc

            << entry.InitializationErrorString();
        for (int i = 0; i < entry.slices_size(); ++i) {
          const auto& slice_proto = entry.slices(i);
          CHECK(filtered_keys
                    .insert(EncodeTensorNameSlice(
                        string(v2_reader_->key()) /* full var's name */,
                        TensorSlice(slice_proto)))
                    .second);
        }
      }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Aug 25 21:29:12 GMT 2023
    - 5.5K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

        }
        auto begin = data.begin();
        if (offset > pos) {
          // The block begins before the slice we're reading.
          begin += offset - pos;
        }
        auto end = data.end();
        if (pos + data.size() > offset + n) {
          // The block extends past the end of the slice we're reading.
          end -= (pos + data.size()) - (offset + n);
        }
        if (begin < end) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_test.cc

      }
      TF_DeleteTensor(a);
    }
    
    TEST(CAPI, TestTensorIsNotAligned) {
      // Test unaligned access via a Slice.
      Tensor x(DT_FLOAT, TensorShape({30}));
      x.flat<float>().setConstant(0.0);
    
      // Take an unaligned slice.
      Tensor y = x.Slice(1, 13);
      Status status;
      TF_Tensor* a = TF_TensorFromTensor(y, &status);
      if (TF_TensorDefaultAlignment() > 0) {
    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)
  5. tensorflow/c/eager/c_api.cc

          "TFE_ContextSetServerDef not supported on mobile");
      return false;
    #else   // !defined(IS_MOBILE_PLATFORM)
      bool is_alive;
      status->status =
          tensorflow::unwrap(ctx)->GetDistributedManager()->CheckRemoteAlive(
              worker_name, &is_alive);
      return is_alive;
    #endif  // !IS_MOBILE_PLATFORM
    }
    
    TF_CAPI_EXPORT extern void TFE_ContextAsyncWait(TFE_Context* ctx,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  6. tensorflow/c/eager/c_api_experimental.cc

        return;
      }
      status->status = coord_agent->WaitAtBarrier(
          barrier_id, absl::Milliseconds(barrier_timeout_in_ms), {});
    }
    
    void TFE_InitializeLocalOnlyContext(TFE_Context* ctx, int keep_alive_secs,
                                        const void* proto, size_t proto_len,
                                        TF_Status* status) {
      tensorflow::ServerDef server_def;
      if (!server_def.ParseFromArray(proto, proto_len)) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
Back to top