- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 322 for adaptor (0.17 sec)
-
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/adaptor.go
} // nestedValueValidationToStructural converts a nested value validation to // an equivalent structural schema instance. // // This lets us avoid needing a separate adaptor for the nested value // validations, and doesn't cost too much since since we are usually exploring the // entire schema anyway. func nestedValueValidationToStructural(nvv *schema.NestedValueValidation) *Structural {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 20:13:14 UTC 2024 - 8.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/openapi/adaptor.go
Alexander Zielenski <******@****.***> 1696898977 -0700
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/cel/common/adaptor.go
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. */ package common // Schema is the adapted type for an OpenAPI schema that CEL uses. // This schema does not cover all OpenAPI fields but only these CEL requires // are exposed as getters. type Schema interface { // Type returns the OpenAPI type.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 10 21:26:55 UTC 2023 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lower_static_tensor_list.cc
LogicalResult matchAndRewriteImplWithSliceAndConcat( TF::TensorListSetItemOp op, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const { Location loc = op.getLoc(); Value input = adaptor.getOperands()[0]; Value index = adaptor.getOperands()[1]; Value item = adaptor.getOperands()[2]; IntegerType shape_dtype = rewriter.getIntegerType(32);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 20:00:43 UTC 2024 - 70.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_ops_to_mhlo.cc
LogicalResult matchAndRewrite( TF::UniformDequantizeOp op, TF::UniformDequantizeOpAdaptor adaptor, ConversionPatternRewriter &rewriter) const override { Value input = adaptor.getInput(); auto input_quant_type = GetUniformQuantizedType( op, op.getInput().getType(), op.getScales(), op.getZeroPoints(), /*expressed_type=*/rewriter.getF32Type(), op.getQuantizationMinVal(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 30.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc
template <typename ResultType> static LogicalResult FoldDivOpInternal(stablehlo::DivOp op, PatternRewriter& rewriter) { auto adaptor = FoldAdaptor::Create(op); if (!adaptor.has_value()) { return failure(); } auto const_oprs = adaptor.value().OperandData(); const bool lhs_splat = const_oprs[0].isSplat(); const bool rhs_splat = const_oprs[1].isSplat();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 06:11:55 UTC 2024 - 4.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/convert_func_to_bfloat16.cc
op->getLoc(), op.getOperand().getType(), adaptor.getOperand()); rewriter.replaceOpWithNewOp<mlir::stablehlo::BitcastConvertOp>( op, op.getResult().getType(), output); } else { // Both input/output are f32. Convert to no-op. rewriter.replaceOp(op, adaptor.getOperand()); } return success(); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/ir/tfl_ops.cc
OpFoldResult MaximumOp::fold(FoldAdaptor adaptor) { auto lhs_type = getLhs().getType(); auto rhs_type = getRhs().getType(); // Only constant fold for float tensors of the same type is implemented. if (lhs_type != rhs_type || !IsFloatShapedType(lhs_type)) return nullptr; auto lhs = adaptor.getLhs().dyn_cast_or_null<DenseElementsAttr>(); auto rhs = adaptor.getRhs().dyn_cast_or_null<DenseElementsAttr>();
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/stablehlo/transforms/legalize_hlo_conversions/custom_call.h
class ConvertCustomCallOp : public OpConversionPattern<mhlo::CustomCallOp> { public: using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite( mhlo::CustomCallOp mhlo_custom_call, OpAdaptor adaptor, ConversionPatternRewriter& rewriter) const final; }; // Ops that have a call_target_name starting with the prefix "custom_call." and // backend_config of type StringAttr (if specified) should be legalized (i.e.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 10 02:41:24 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc
public: using OpConversionPattern::OpConversionPattern; LogicalResult matchAndRewrite( tfg::ReturnOp ret, OpAdaptor adaptor, ConversionPatternRewriter &rewriter) const final { rewriter.replaceOpWithNewOp<tf_executor::FetchOp>(ret.getOperation(), adaptor.getOperands()); return success(); } }; class ConvertControlTriggerOp : public ConversionPattern {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 21.2K bytes - Viewed (0)