Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,659 for casts (0.22 sec)

  1. tensorflow/compiler/mlir/lite/quantization/ir/QuantOps.td

    // converting back from a quantized to quantizable (expressed) type.
    //
    // Like qcasts, a dcast is allowed to have both its operand and result
    // as non quantized types. This facilitates transformations and marks edges
    // where the computation must be carried out in the expressed type.
    //
    // Especially early in transformation, it is common to have dcasts on
    // all operands to ops that must operate with the expressed type (typically
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 13 12:46:08 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

      %0 = "tf.IfRegion"(%arg0) ({
        %1 = "tf.Cast"(%arg1) {Truncate = false} : (tensor<2xf32>) -> tensor<?xf32>
        %2 = "tf.Cast"(%1) {Truncate = false} : (tensor<?xf32>) -> tensor<*xf32>
        %3 = func.call @testIf1Then(%2) : (tensor<*xf32>) -> tensor<*xf32>
        "tf.Yield"(%3) : (tensor<*xf32>) -> ()
      },  {
        %1 = "tf.Cast"(%arg1) {Truncate = false} : (tensor<2xf32>) -> tensor<?xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/saved_model/core/tf_saved_model_api.cc

    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/lib/gtl/flatmap.h"
    #include "tensorflow/core/lib/hash/hash.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/logging.h"
    #include "tensorflow/core/platform/macros.h"
    #include "tensorflow/core/platform/path.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 09:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/c/eager/c_api_cluster_test.cc

    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/cluster.pb.h"
    #include "tensorflow/core/protobuf/tensorflow_server.pb.h"
    
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 14 10:03:59 UTC 2023
    - 19.3K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public K[] createArray(int length) {
          // TODO: with appropriate refactoring of OneSizeGenerator, we can perhaps
          // tidy this up and get rid of the casts here and in
          // MapValueCollectionGenerator.
    
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

        }
    
        @Override
        public K[] createArray(int length) {
          // TODO: with appropriate refactoring of OneSizeGenerator, we can perhaps
          // tidy this up and get rid of the casts here and in
          // MapValueCollectionGenerator.
    
          return ((TestMapGenerator<K, V>) mapGenerator.getInnerGenerator()).createKeyArray(length);
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_distributed_test.cc

    #include "tensorflow/core/distributed_runtime/rpc/grpc_server_lib.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/graph/graph.h"
    #include "tensorflow/core/platform/casts.h"
    #include "tensorflow/core/platform/errors.h"
    #include "tensorflow/core/platform/protobuf.h"
    #include "tensorflow/core/platform/test.h"
    #include "tensorflow/core/protobuf/cluster.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
Back to top