Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,239 for casts (0.05 sec)

  1. tensorflow/c/tf_tensor.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/tensor_shape.pb.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/core/coding.h"
    #include "tensorflow/core/platform/casts.h"
    
    using tensorflow::Status;
    using tensorflow::Tensor;
    using tensorflow::TensorBuffer;
    using tensorflow::errors::FailedPrecondition;
    using tensorflow::errors::InvalidArgument;
    
    #ifndef LIBTPU_EXCLUDE_C_API_IMPL
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 21:57:32 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/passes/passes.h

    // output model of this pass is expected to be ready for the TF quantizer.
    std::unique_ptr<OperationPass<ModuleOp>> CreateConvertTpuModelToCpuPass();
    
    // Creates a pass that casts BFloat16 operations to Float32 operations. This
    // pass is a part of the ConvertTpuModelToCpu pass to support BF16 optimized TPU
    // model quantization.
    std::unique_ptr<OperationPass<ModuleOp>> CreateCastBf16OpsToF32Pass();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 10 04:07:09 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types.cc

             llvm::all_of(op->getOperands(), IsQintValueDefinedByIntToQintCast);
    }
    
    bool IsCastOpLegal(TF::CastOp cast_op) {
      // Consider qint <-> qint casts illegal.
      if (IsIllegalType(cast_op.getSrcT()) && IsIllegalType(cast_op.getDstT())) {
        return false;
      }
      // Consider CastOp illegal if either of its Src/Dst type is qint and is
      // connected to a non-UQ op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc

    #include "tensorflow/compiler/mlir/lite/utils/const_tensor_utils.h"
    
    #include <cassert>
    #include <cstddef>
    #include <cstdint>
    #include <limits>
    #include <string>
    #include <vector>
    
    #include "absl/base/casts.h"
    #include "absl/status/status.h"
    #include "absl/strings/str_cat.h"
    #include "Eigen/Core"  // from @eigen_archive
    #include "llvm/ADT/APInt.h"
    #include "llvm/ADT/SmallVector.h"
    #include "llvm/ADT/bit.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 23:04:40 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.cc

    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h"
    
    #include <cstdint>
    #include <limits>
    #include <optional>
    #include <string>
    #include <vector>
    
    #include "absl/base/casts.h"
    #include "absl/container/inlined_vector.h"
    #include "absl/strings/str_cat.h"
    #include "absl/strings/string_view.h"
    #include "llvm/ADT/APFloat.h"
    #include "llvm/ADT/ArrayRef.h"
    #include "llvm/ADT/SmallVector.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/CollectionUtils.java

    import java.util.List;
    import java.util.Map;
    import java.util.NoSuchElementException;
    import java.util.Optional;
    import java.util.Set;
    
    import static org.gradle.internal.Cast.cast;
    import static org.gradle.internal.Cast.castNullable;
    import static org.gradle.internal.Cast.uncheckedNonnullCast;
    
    @SuppressWarnings("join_with_collect")
    public abstract class CollectionUtils {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  7. ChangeLog.md

    - [`KT-54443`](https://youtrack.jetbrains.com/issue/KT-54443) Smart cast to non-null after safe-call in require
    - [`KT-25747`](https://youtrack.jetbrains.com/issue/KT-25747) DFA variables: propagate smart cast results from local variables
    - [`KT-22997`](https://youtrack.jetbrains.com/issue/KT-22997) Smart-cast should merge is-check for non-nullable type and a null check to a nullable type
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:14:23 UTC 2024
    - 292.1K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

    #include "tensorflow/core/framework/tensor.pb.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/graph/node_builder.h"
    #include "tensorflow/core/platform/blocking_counter.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/env.h"
    #include "tensorflow/core/platform/init_main.h"
    #include "tensorflow/core/platform/mutex.h"
    #include "tensorflow/core/platform/net.h"
    #include "tensorflow/core/platform/platform.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/transforms/region_control_flow_to_functional.cc

        // Get the defining Op, skipping over casts.
        auto get_defining_op = [](Value value) {
          while (auto cast_op =
                     llvm::dyn_cast_or_null<CastOp>(value.getDefiningOp())) {
            // Consider cast compatibility in case
            //    %cast = "tf.Cast"(%0) : (tensor<2xi64>) -> tensor<2xf32>
            // is skipped.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableSortedMultiset.java

          Comparator<? super E> comparator, Iterable<? extends E> elements) {
        if (elements instanceof ImmutableSortedMultiset) {
          @SuppressWarnings("unchecked") // immutable collections are always safe for covariant casts
          ImmutableSortedMultiset<E> multiset = (ImmutableSortedMultiset<E>) elements;
          if (comparator.equals(multiset.comparator())) {
            if (multiset.isPartialView()) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 08 03:01:02 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top