Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,659 for casts (0.2 sec)

  1. tensorflow/c/tf_tensor_internal.h

    #include "tensorflow/core/framework/allocation_description.pb.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/status.h"
    
    // Internal structures used by the C API. These are likely to change and should
    // not be depended on.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 24 20:38:55 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/NullnessCasts.java

    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_unified_experimental_internal.h

    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/types.h"
    
    namespace tensorflow {
    
    // Represents the results of the execution of an operation.
    struct OutputList {
      std::vector<AbstractTensorHandle*> outputs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 13 22:20:40 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

    import junit.framework.TestSuite;
    
    /**
     * Test suite covering {@link Ints#asList(int[])}.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible(emulated = true)
    @SuppressWarnings("cast") // redundant casts are intentional and harmless
    public class IntArrayAsListTest extends TestCase {
    
      private static List<Integer> asList(Integer[] values) {
        int[] temp = new int[values.length];
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Jun 01 09:32:35 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/NullnessCasts.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/NullnessCasts.java

    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /** A utility method to perform unchecked casts to suppress errors produced by nullness analyses. */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    final class NullnessCasts {
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 10 20:36:34 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

    #include "tensorflow/core/framework/types.h"
    #include "tensorflow/core/tfrt/common/async_value_tensor.h"
    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tsl/lib/core/status_test_util.h"
    #include "tsl/platform/casts.h"
    #include "tsl/platform/status_matchers.h"
    #include "tsl/protobuf/error_codes.pb.h"
    
    namespace tensorflow {
    namespace {
    
    using ::testing::HasSubstr;
    using ::testing::NotNull;
    using ::tsl::testing::StatusIs;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 01 16:29:40 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ifreq_linux.go

    // license that can be found in the LICENSE file.
    
    //go:build linux
    
    package unix
    
    import (
    	"unsafe"
    )
    
    // Helpers for dealing with ifreq since it contains a union and thus requires a
    // lot of unsafe.Pointer casts to use properly.
    
    // An Ifreq is a type-safe wrapper around the raw ifreq struct. An Ifreq
    // contains an interface name and a union of arbitrary data which can be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/build/ExecutionResult.java

        /**
         * Returns a copy of this result, adding any failures from the given result object.
         */
        public abstract ExecutionResult<T> withFailures(ExecutionResult<Void> otherResult);
    
        /**
         * Casts a failed result.
         */
        public abstract <S> ExecutionResult<S> asFailure();
    
        public static <T> ExecutionResult<T> succeeded(T value) {
            return new Success<T>() {
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 03 03:31:42 UTC 2023
    - 6.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/common/ir/QuantOps.cc

          >();
    }
    
    OpFoldResult StorageCastOp::fold(FoldAdaptor) {
      // Matches x -> [scast -> scast] -> y, replacing the second scast with the
      // value of x if the casts invert each other.
      auto srcScastOp = getArg().getDefiningOp<StorageCastOp>();
      if (!srcScastOp || srcScastOp.getArg().getType() != getType())
        return OpFoldResult();
      return srcScastOp.getArg();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top