Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 322 for rack (0.19 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        components.reserve(underlying_devices_.size());
        for (int j = 0; j < underlying_devices_.size(); ++j) {
          components.push_back(std::move(per_device_output_tensors[j][i]));
        }
        if (expected_output_shapes[i].IsFullyDefined()) {
          per_device_outputs.push_back(ParallelTensor::FromTensorHandles(
              *this, std::move(components),
              absl::Span<const int64_t>(expected_output_shapes[i].dim_sizes()),
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  2. tensorflow/c/c_api_experimental.cc

      const auto& shape = reader->GetVariableToShapeMap().at(name);
      int rank = shape.dims();
      if (num_dims != rank) {
        status->status = InvalidArgument("Expected rank is ", num_dims,
                                         " but actual rank is ", rank);
        return;
      }
      for (int i = 0; i < num_dims; i++) {
        dims[i] = shape.dim_size(i);
      }
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

            TFE_DeleteTensorHandle(outputs[i]);
          }
        }
        return status.status;
      }
    
      tensorflow::Status Pack(absl::Span<ImmediateExecutionTensorHandle*> handles,
                              ImmediateExecutionTensorHandle** result) override {
        TF_Status status;
        *result = tensorflow::unwrap(device_.pack(context_,
                                                  tensorflow::wrap(handles.data()),
    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)
  4. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

         *       cleared, we know that we're not executing inline any more
         * </ul>
         *
         * All the states where thread != currentThread are identical for our purposes, and so even
         * though it's racy, we don't care which of those values we get, so no need to synchronize.
         */
        @CheckForNull @LazyInit Thread thread;
    
        /** Only used by the thread associated with this object */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  6. tensorflow/c/eager/gradients.cc

      forward_op_->inputs.push_back(input);
      return absl::OkStatus();
    }
    Status AddInputList(AbstractOperation* op_,
                        absl::Span<AbstractTensorHandle* const> inputs,
                        ForwardOperation* forward_op_) {
      TF_RETURN_IF_ERROR(op_->AddInputList(inputs));
      for (auto input : inputs) {
        forward_op_->inputs.push_back(input);
      }
      return absl::OkStatus();
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/TimeoutFuture.java

       *
       * 1. visibility of the writes to these fields to Fire.run:
       *
       * The initial write to delegateRef is made definitely visible via the semantics of
       * addListener/SES.schedule. The later racy write in cancel() is not guaranteed to be observed,
       * however that is fine since the correctness is based on the atomic state in our base class. The
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_graph.cc

        std::vector<PartialTensorShape> shapes;
        shapes.reserve(num_values);
        for (int i = 0; i < num_values; ++i) {
          if (num_dims[i] < 0) {
            shapes.emplace_back();
          } else {
            shapes.emplace_back(ArraySlice<int64_t>(
                reinterpret_cast<const int64_t*>(dims[i]), num_dims[i]));
          }
        }
        op_->node_builder.Attr(attr_name, shapes);
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  9. doc/go_mem.html

    This property is sometimes referred to as DRF-SC: data-race-free programs
    execute in a sequentially consistent manner.
    </p>
    
    <p>
    While programmers should write Go programs without data races,
    there are limitations to what a Go implementation can do in response to a data race.
    An implementation may always react to a data race by reporting the race and terminating the program.
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshot().toArray(array);
      }
    
      /*
       * We'd love to use 'new ArrayList(this)' or 'list.addAll(this)', but
       * either of these would recurse back to us again!
       */
      private List<E> snapshot() {
        List<E> list = Lists.newArrayListWithExpectedSize(size());
        for (Multiset.Entry<E> entry : entrySet()) {
          E element = entry.getElement();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
Back to top