- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for NoneType (0.25 sec)
-
tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc
EXPECT_EQ(it->getNumOperands(), 24); EXPECT_EQ(it->getNumResults(), 1); // cifg = false, so input2input is not None. EXPECT_FALSE(mlir::isa<NoneType>(it->getOperand(1).getType())); // input layer norm is None EXPECT_TRUE(mlir::isa<NoneType>(it->getOperand(20).getType())); // proj_bias is F32 EXPECT_TRUE(mlir::cast<RankedTensorType>(it->getOperand(17).getType()) .getElementType()
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0) -
internal/s3select/select.go
return errMalformedXML(err) } parsedType := CompressionType(strings.ToUpper(s)) if s == "" || parsedType == "NONE" { parsedType = noneType } switch parsedType { case noneType, gzipType, bzip2Type, snappyType, s2Type, zstdType, lz4Type: default: return errInvalidCompressionFormat(fmt.Errorf("invalid compression format '%v'", s)) } *c = parsedType
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 21K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h
return failure(); } lstm_variant->use_projection = !mlir::isa<NoneType>(op.getProjectionWeights().getType()); lstm_variant->use_peephole = !mlir::isa<NoneType>(op.getCellToOutputWeights().getType()); lstm_variant->use_layer_norm = !mlir::isa<NoneType>(op.getForgetLayerNormCoefficients().getType()); *op_property = operator_property::GetOperatorProperty(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 18:01:23 UTC 2024 - 28K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.h
SmallVector<Value, 4> inputs; inputs.reserve(candidate_op->getNumOperands()); for (auto operand : candidate_op->getOperands()) { Type operand_type = operand.getType(); if (mlir::isa<NoneType>(operand_type)) { inputs.push_back(operand); continue; } auto ele_type = mlir::cast<TensorType>(operand.getType()).getElementType(); if (auto dq_op =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/quantize.cc
inputs.reserve(quantizing_op->getNumOperands()); for (const auto& operand : quantizing_op->getOperands()) { Type operand_type = operand.getType(); if (operand_type.isa<NoneType>()) { inputs.push_back(operand); continue; } Type elem_type = operand_type.cast<TensorType>().getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 23.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/quantization_patterns.cc
inputs.reserve(op_with_region->getNumOperands()); for (Value operand : op_with_region->getOperands()) { const Type operand_type = operand.getType(); if (mlir::isa<NoneType>(operand_type)) { inputs.push_back(operand); continue; } const Type element_type = mlir::cast<TensorType>(operand.getType()).getElementType();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 03 06:04:36 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/quantization_lib/quantization_utils.h
SmallVector<Value, 4> inputs; inputs.reserve(quantizing_op->getNumOperands()); for (auto operand : quantizing_op->getOperands()) { Type operand_type = operand.getType(); if (operand_type.isa<NoneType>()) { inputs.push_back(operand); continue; } auto ele_type = operand.getType().cast<TensorType>().getElementType(); if (static_cast<const ConcreteT*>(this)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 24 20:30:06 UTC 2024 - 41.7K bytes - Viewed (0) -
tensorflow/cc/experimental/libtf/value.h
TF_UNION_ACCESS_INSTANCE(impl::String, s); TF_UNION_ACCESS_INSTANCE(impl::TaggedValueTensor, tensor); TF_UNION_ACCESS_INSTANCE(impl::TensorSpec, tensor_spec); #undef TF_UNION_ACCESS_INSTANCE /// The union accessor for `NoneType`. template <> struct TaggedValue::UnionAccess<impl::None> { static impl::None& unsafe_reference(TaggedValue& t) { return None::GetInstance(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:23:45 UTC 2024 - 20.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc
} LogicalResult EnsureBias(Operation* op, int bias_idx, PatternRewriter& rewriter) { auto bias = op->getOperand(bias_idx); if (!mlir::isa<NoneType>(bias.getType())) return failure(); // Proceed to create a zero bias. auto output = op->getResult(0); auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 25.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
if (op_infos.empty()) return parser.emitError(loc) << " expects at least one data operand"; Attribute frame; if (parser.parseKeyword("frame") || parser.parseAttribute(frame, NoneType::get(context), "frame_name", result.attributes)) return failure(); Type i64 = parser.getBuilder().getIntegerType(64); if (parser.parseOptionalKeyword("parallel_iterations")) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0)