- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for type_attr (0.15 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
return false; } } return true; } // Returns the tensor type created from the `shape_attr` and `type_attr` // attributes. Type GetType(Attribute shape_attr, Attribute type_attr) { auto shape = mlir::cast<tf_type::ShapeAttr>(shape_attr); auto type = mlir::cast<TypeAttr>(type_attr); if (shape.hasRank()) return tensorflow::GetTypeFromTFTensorShape(shape.getShape(),
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/quantization/tensorflow/python/integration_test/quantize_model_test.py
type_attr = attr_value_pb2.AttrValue(type=types_pb2.DT_QINT8) if quantize: self.assertTrue( self._contains_op(output_graphdef, 'Const', 'dtype', type_attr) ) else: self.assertFalse( self._contains_op(output_graphdef, 'Const', 'dtype', type_attr) ) @parameterized.named_parameters(
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
// determined while going through quantization passes. OptionalAttr<TypeAttr>:$input_to_input_intermediate, OptionalAttr<TypeAttr>:$input_to_forget_intermediate, OptionalAttr<TypeAttr>:$input_to_cell_intermediate, OptionalAttr<TypeAttr>:$input_to_output_intermediate, OptionalAttr<TypeAttr>:$effective_hidden_scale_intermediate ); let results = (outs AnyTensor:$output);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 19:09:08 UTC 2024 - 186K bytes - Viewed (0) -
src/cmd/internal/obj/x86/asm6.go
ctxt.Diag("offset too large in %s", p) } } v := int32(a.Offset) rel.Siz = 0 switch a.Type { case obj.TYPE_ADDR: if a.Name == obj.NAME_NONE { ctxt.Diag("unexpected TYPE_ADDR with NAME_NONE") } if a.Index == REG_TLS { ctxt.Diag("unexpected TYPE_ADDR with index==REG_TLS") } goto bad case obj.TYPE_REG: const regFirst = REG_AL const regLast = REG_Z31
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 146.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/flatbuffer_export.cc
// Const op can have a result of dynamic shaped type (e.g. due to constant // folding), but we can still derive the shape of a constant tensor for // its attribute type. auto tensor_attr = mlir::cast<mlir::TypedAttr>(inst->getAttr("value")); llvm::ArrayRef<int64_t> shape_ref = mlir::cast<TensorType>(tensor_attr.getType()).getShape(); if (mlir::failed(check_shape(shape_ref))) return std::nullopt;
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/internal/obj/ppc64/asm9.go
if f64 == 0 { if math.Signbit(f64) { return C_S16CON } return C_ZCON } log.Fatalf("Unexpected nonzero FCONST operand %v", a) case obj.TYPE_CONST, obj.TYPE_ADDR: switch a.Name { case obj.NAME_NONE: c.instoffset = a.Offset if a.Reg != 0 { if -BIG <= c.instoffset && c.instoffset < BIG { return C_SACON } if isint32(c.instoffset) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 13:55:28 UTC 2024 - 156.1K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
return oregclass(c.instoffset) } return C_GOK case obj.TYPE_FCONST: return C_FCON case obj.TYPE_TEXTSIZE: return C_TEXTSIZE case obj.TYPE_CONST, obj.TYPE_ADDR: switch a.Name { case obj.NAME_NONE: c.instoffset = a.Offset if a.Reg != 0 && a.Reg != REGZERO { break } v := c.instoffset if v == 0 { return C_ZCON }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0)