- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for constants_ (0.14 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/transforms/uniform_quantized_stablehlo_to_tfl_pass.cc
} }; // Rewrites quantized `stablehlo.constant` to `tfl.pseudo_qconst`. class RewriteQuantizedConstantOp : public OpRewritePattern<stablehlo::ConstantOp> { public: using OpRewritePattern<stablehlo::ConstantOp>::OpRewritePattern; LogicalResult match(stablehlo::ConstantOp op) const override { return success(IsQuantizedTensorType(op.getOutput().getType())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 22 09:00:19 UTC 2024 - 99.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
} // Return true if the value is a splat tensor constant zero. bool EqualsZero(Value value) { DenseElementsAttr constant; if (!matchPattern(value, m_Constant(&constant)) || !constant.isSplat()) { return false; } Type element_type = value.getType().cast<ShapedType>().getElementType(); if (element_type.isa<FloatType>()) { return constant.getSplatValue<APFloat>().isZero(); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 169.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir
// CHECK-DAG: [[VAL_92:%.*]] = arith.constant dense<0.000000e+00> : tensor<3xf32> // CHECK-DAG: [[VAL_93:%.*]] = arith.constant dense<0.000000e+00> : tensor<1x3xf32> // CHECK-DAG: [[VAL_94:%.*]] = arith.constant dense<0.000000e+00> : tensor<1x1xf32> // CHECK-DAG: [[VAL_95:%.*]] = arith.constant dense<0> : tensor<1xi64> // CHECK-DAG: [[VAL_96:%.*]] = arith.constant dense<1> : tensor<1xi64>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 122.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK-DAG: [[VAL_8:%.*]] = arith.constant dense<0.000000e+00> : tensor<16x16xf32> // CHECK-DAG: [[VAL_9:%.*]] = arith.constant dense<0.000000e+00> : tensor<16x8xf32> // CHECK-DAG: [[VAL_10:%.*]] = arith.constant dense<0.000000e+00> : tensor<16xf32> // CHECK-DAG: [[VAL_11:%.*]] = arith.constant dense<0.000000e+00> : tensor<1x16xf32> // CHECK-DAG: [[VAL_12:%.*]] = arith.constant dense<0.000000e+00> : tensor<8x16xf32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 05 01:54:33 UTC 2024 - 153.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/tests/uniform-quantized-stablehlo-to-tfl.mlir
// CHECK-DAG: %[[BROADCAST_DIM:.+]] = arith.constant dense<{{\[3, 2, 1, 1, 4\]}}> : tensor<5xi32> // CHECK-DAG: %[[EXPAND_DIM1:.+]] = arith.constant dense<3> : tensor<1xi32> // CHECK-DAG: %[[EXPAND_DIM0:.+]] = arith.constant dense<2> : tensor<1xi32> // CHECK-DAG: %[[PERM:.+]] = arith.constant dense<{{\[1, 0, 2\]}}> : tensor<3xi32>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 106.2K bytes - Viewed (0) -
doc/go1.17_spec.html
literal. </p> <h2 id="Constants">Constants</h2> <p>There are <i>boolean constants</i>, <i>rune constants</i>, <i>integer constants</i>, <i>floating-point constants</i>, <i>complex constants</i>, and <i>string constants</i>. Rune, integer, floating-point, and complex constants are collectively called <i>numeric constants</i>. </p> <p> A constant value is represented by a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
} static bool IsConst(Operation* op) { return isa<mlir::func::ConstantOp, mlir::arith::ConstantOp, mlir::TF::ConstOp, tfl::ConstOp, tfl::QConstOp, tfl::SparseConstOp, tfl::SparseQConstOp, mlir::TFL::NoValueOp, mlir::stablehlo::ConstantOp, mlir::vhlo::ConstantOpV1>(op); } static bool IsTFResourceOp(Operation* op) {
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/vendor/golang.org/x/sys/windows/types_windows.go
NORMAL_PRIORITY_CLASS = 0x00000020 PROCESS_MODE_BACKGROUND_BEGIN = 0x00100000 PROCESS_MODE_BACKGROUND_END = 0x00200000 REALTIME_PRIORITY_CLASS = 0x00000100 ) /* wintrust.h constants for WinVerifyTrustEx */ const ( WTD_UI_ALL = 1 WTD_UI_NONE = 2 WTD_UI_NOBAD = 3 WTD_UI_NOGOOD = 4 WTD_REVOKE_NONE = 0 WTD_REVOKE_WHOLECHAIN = 1 WTD_CHOICE_FILE = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 05 22:18:42 UTC 2024 - 104.1K bytes - Viewed (0) -
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) -
pkg/config/validation/validation_test.go
}}, }, "", "", }, } for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { annotations := map[string]string{} annotations[constants.InternalGatewaySemantics] = constants.GatewaySemanticsGateway warn, err := ValidateGateway(config.Config{ Meta: config.Meta{ Name: someName, Namespace: someNamespace, Annotations: annotations,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 03:11:45 UTC 2024 - 196K bytes - Viewed (0)