Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 92 for computing (0.21 sec)

  1. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      std::string shape_string;
      if (Shape(&shape).ok()) {
        shape_string = shape.DebugString();
      } else {
        shape_string = "<error computing shape>";
      }
      std::string value_string;
      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
        // The default NumPy-style output can be distractingly long in error
        // messages.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/abstract_tensor_handle.cc

    namespace tensorflow {
    
    std::string AbstractTensorHandle::DebugString() const {
      PartialTensorShape shape;
      Status s = Shape(&shape);
      std::string shape_string;
      if (!s.ok()) {
        shape_string = "<error computing shape>";
      } else {
        shape_string = shape.DebugString();
      }
      return absl::StrCat("TensorHandle(shape=", shape_string,
                          ", dtype=", DataType_Name(DataType()),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/array_grad_test.cc

      TF_RETURN_IF_ERROR(
          ops::IdentityN(ctx, inputs, absl::MakeSpan(temp_outputs), "IdentityN"));
      // Although, `ops::IdentityN` returns 2 tensors, the first tensor isn't needed
      // for computing gradient so we could safely drop it.
      outputs[0] = temp_outputs[1];
      temp_outputs[0]->Unref();
      return absl::OkStatus();
    }
    
    class CppGradients
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  4. tensorflow/c/experimental/gradients/nn_grad_test.cc

      // `gradient_checker` only works with model that returns only 1 tensor.
      // Although, `ops::SparseSoftmaxCrossEntropyWithLogits` returns 2 tensors, the
      // second tensor isn't needed for computing gradient so we could safely drop
      // it.
      outputs[0] = loss;
      backprop->Unref();
      return absl::OkStatus();
    }
    
    Status BiasAddModel(AbstractContext* ctx,
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/DiscreteDomain.java

        checkNonnegative(distance, "distance");
        for (long i = 0; i < distance; i++) {
          current = next(current);
          if (current == null) {
            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DiscreteDomain.java

        checkNonnegative(distance, "distance");
        for (long i = 0; i < distance; i++) {
          current = next(current);
          if (current == null) {
            throw new IllegalArgumentException(
                "overflowed computing offset(" + origin + ", " + distance + ")");
          }
        }
        return current;
      }
    
      /**
       * Returns the unique least value of type {@code C} that is greater than {@code value}, or {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

            //       -2_147_483_628 -> ...
            //   } }
            // That constant is encoded as `unaryMinus` call with the const 2147483628 of long type, while the resolved type is Int.
            // After computing the compile time constant, we need to adjust its type here.
            val expression =
                if (expectedKind != null && expectedKind != kind && value is Number) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Wed Mar 20 14:53:27 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/cache/CacheTesting.java

        ReferenceEntry<K, V> entry = getReferenceEntry(cache, key);
        if (entry != null) {
          ValueReference<K, V> valueRef = entry.getValueReference();
          // fail on strong/computing refs
          Preconditions.checkState(valueRef instanceof Reference);
          Reference<V> ref = (Reference<V>) valueRef;
          if (ref != null) {
            ref.clear();
          }
        }
      }
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/cache/CacheTesting.java

        ReferenceEntry<K, V> entry = getReferenceEntry(cache, key);
        if (entry != null) {
          ValueReference<K, V> valueRef = entry.getValueReference();
          // fail on strong/computing refs
          Preconditions.checkState(valueRef instanceof Reference);
          Reference<V> ref = (Reference<V>) valueRef;
          if (ref != null) {
            ref.clear();
          }
        }
      }
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 16.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Equivalence.java

    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A strategy for determining whether two instances are considered equivalent, and for computing
     * hash codes in a manner consistent with that equivalence. Two examples of equivalences are the
     * {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}.
     *
     * @author Bob Lee
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top