- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 55 for Constant2 (0.21 sec)
-
src/cmd/internal/obj/arm64/asm7.go
return C_SPR } return C_GOK } // con32class reclassifies the constant of 32-bit instruction. Because the constant type is 32-bit, // but saved in Offset which type is int64, con32class treats it as uint32 type and reclassifies it. func (c *ctxt7) con32class(a *obj.Addr) int { v := uint32(a.Offset) // For 32-bit instruction with constant, rewrite // the high 32-bit to be a repetition of the low
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
// Propagates any constant return value of the callee function to the call // op's corresponding result. void PropagateConstantFromCallee(CallOpInterface call_op, FuncOp func, ModuleOp module); // Tries to compute the result of folding the op. This doesn't actually // perform constant folding, it is just computes the equivalent constants. // Returns whether it was able to compute constant values.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir
// ----- func.func @testPadV2Rank1Paddings(%input: tensor<2xi64>) -> tensor<3xi64> { %constant = "tf.Const"() {value = dense<1> : tensor<i64>} : () -> tensor<i64> %paddings = "tf.Const"() {value = dense<[0, 1]> : tensor<2xi64>} : () -> tensor<2xi64> // expected-error @+1 {{failed to verify that operand 1 is 2-D}} %0 = "tf.PadV2"(%input, %paddings, %constant) : (tensor<2xi64>, tensor<2xi64>, tensor<i64>) -> tensor<3xi64> func.return %0 : tensor<3xi64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Oct 23 14:40:35 UTC 2023 - 236.4K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/ARM64.rules
// If the shift amount is larger than the datasize(32, 16, 8), we can optimize to constant 0. (MOVWUreg (SLLconst [lc] x)) && lc >= 32 => (MOVDconst [0]) (MOVHUreg (SLLconst [lc] x)) && lc >= 16 => (MOVDconst [0]) (MOVBUreg (SLLconst [lc] x)) && lc >= 8 => (MOVDconst [0]) // After zero extension, the upper (64-datasize(32|16|8)) bits are zero, we can optimiza to constant 0. (SRLconst [rc] (MOVWUreg x)) && rc >= 32 => (MOVDconst [0])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 15:49:20 UTC 2024 - 113.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test.py
bias_shape = shapes[1][-1] if bias_shape is not None: bias = array_ops.constant( np.random.uniform(size=[shapes[1][-1]]), dtype=dtypes.float32 ) model = MatmulModel(bias) x = array_ops.constant( np.random.uniform(size=x_shape), dtype=dtypes.float32 ) y = array_ops.constant( np.random.uniform(size=y_shape), dtype=dtypes.float32 ) if use_kernel:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 03:36:50 UTC 2024 - 235.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.td
Pure, FirstAttrDerivedResultType]> { let summary = "Quantized constant pseudo op"; let description = [{ Represents a quantized constant value in TensorFlow Lite dialect. This is not an actual operation and it will be lowered to buffer instead. The quantization parameters are stored as a type attribute in this constant. }]; let arguments = ( ins TensorTypeAttr:$qtype,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
->getOrLoadDialect<mlir::tf_executor::TensorFlowExecutorDialect>(); } std::optional<std::string> TranslateInternal(); // Returns TFLite buffer populated with constant value if the operation is // TFLite constant operation. Otherwise, returns an empty buffer. Emits error // and returns std::nullopt on failure. The buffer index may be changed if // duplicated buffer is found.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:41:49 UTC 2024 - 164.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/_gen/AMD64Ops.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 04 16:40:24 UTC 2023 - 98K bytes - Viewed (1) -
pilot/pkg/networking/core/cluster_builder_test.go
v3 "istio.io/istio/pilot/pkg/xds/v3" "istio.io/istio/pilot/test/xdstest" istiocluster "istio.io/istio/pkg/cluster" "istio.io/istio/pkg/config" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/host" "istio.io/istio/pkg/config/labels" "istio.io/istio/pkg/config/protocol" "istio.io/istio/pkg/config/schema/gvk" "istio.io/istio/pkg/network" "istio.io/istio/pkg/security"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 110.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc
rewriter.replaceOpWithNewOp<TF::YieldOp>(return_op, return_op->getOperands()); } } // If `value` is a splat constant, returns a success and set `splat_value` // to the splate constant value. // `SplatValueType` can be `APInt` or `APFloat`. template <typename SplatValueType> LogicalResult GetConstantSplatValue(Value value, SplatValueType& splat_value) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 154.9K bytes - Viewed (0)