- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 3,659 for casts (0.05 sec)
-
tensorflow/compiler/mlir/quantization/tensorflow/quantize_passes.cc
pm.addNestedPass<mlir::func::FuncOp>( mlir::quant::CreateReplaceCastHacksWithTFXLAOpsPass()); pm.addNestedPass<mlir::func::FuncOp>(mlir::createCSEPass()); // Use optimize pass to remove double casts that are inserted when inlining // functions. pm.addNestedPass<mlir::func::FuncOp>(mlir::quant::CreateOptimizePass()); } } // namespace quantization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 04:07:09 UTC 2024 - 9.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/ir/tfr_ops.cc
if (!input_tensor_type || !output_tensor_type) { return failure(); } // Canonicalize two tfr.cast pairs with different element type to // two tfr.casts with the same element type followed by a tf.Cast. if ((input_tensor_type.getElementType() != output_tensor_type.getElementType()) && !isQuantizedType(input_type) && !isQuantizedType(output_type)) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Nov 21 16:55:41 UTC 2023 - 38.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java
@SuppressWarnings("rawtypes") // JDT-based J2KT Java frontend does not permit the direct cast Map rawMap = map; @SuppressWarnings("unchecked") // covariant casts safe (unmodifiable) ImmutableClassToInstanceMap<B> cast = (ImmutableClassToInstanceMap<B>) rawMap; return cast; } return new Builder<B>().putAll(map).build(); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 10 21:56:03 UTC 2023 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tf_tfl_passes.cc
pass_manager->addPass( mlir::tf_saved_model::CreateOptimizeGlobalTensorsPass()); if (pass_config.shape_inference) { // Add a shape inference pass to optimize away the unnecessary casts. pass_manager->addPass(mlir::TF::CreateTFShapeInferencePass()); } // Legalize while early to allow further constant folding. // TODO(jpienaar): This may not actually matter as we do canonicalization
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 18:45:51 UTC 2024 - 25.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/attribute_utils.h
#include "tensorflow/compiler/tf2xla/tf2xla_defs.h" namespace mlir { namespace TF { // TODO(b/229028654) Use definitions from tf2xla_defs.h directly. We currently // don't do this to avoid explicit casts (implicit conversion from // `absl::string_view` to `llvm::StringRef` is not supported until C++17). // Whether soft placement is allowed. If true, the marked node is eligible for // outside compilation.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 22 19:47:48 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/while_loop_outline.cc
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/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: Tue Jan 09 03:10:59 UTC 2024 - 10.2K bytes - Viewed (0) -
tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc
return {slice_inputs}; } // Casts `x` to a DT_INT64 if it isn't one already. Output MakeInt64(const Scope& host_scope, absl::string_view name, const Output& x) { return x.type() == DT_INT64 ? x : ops::Cast(host_scope.WithOpName(name, "_s64"), x, DT_INT64); } // Returns `slice_inputs` with the index and size inputs cast to DT_INT64.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 13.8K bytes - Viewed (0) -
platforms/core-runtime/base-asm/src/main/java/org/gradle/model/internal/asm/MethodVisitorScope.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:29 UTC 2024 - 12.4K bytes - Viewed (0) -
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)