- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,922 for FUNC (0.13 sec)
-
src/cmd/compile/internal/ir/func.go
func (n *Func) editChildren(edit func(Node) Node) { editNodes(n.Body, edit) } func (n *Func) editChildrenWithHidden(edit func(Node) Node) { editNodes(n.Body, edit) } func (f *Func) Type() *types.Type { return f.Nname.Type() } func (f *Func) Sym() *types.Sym { return f.Nname.Sym() } func (f *Func) Linksym() *obj.LSym { return f.Nname.Linksym() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:05:44 UTC 2024 - 21.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/func.go
} func (f *Func) ConstInt32(t *types.Type, c int32) *Value { return f.constVal(OpConst32, t, int64(c), true) } func (f *Func) ConstInt64(t *types.Type, c int64) *Value { return f.constVal(OpConst64, t, c, true) } func (f *Func) ConstFloat32(t *types.Type, c float64) *Value { return f.constVal(OpConst32F, t, int64(math.Float64bits(float64(float32(c)))), true) } func (f *Func) ConstFloat64(t *types.Type, c float64) *Value {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 19:44:43 UTC 2024 - 25.8K bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/func.go
// (Call typecheck.Func instead.) func tcFunc(n *ir.Func) { if base.EnableTrace && base.Flag.LowerT { defer tracePrint("tcFunc", n)(nil) } if name := n.Nname; name.Typecheck() == 0 { base.AssertfAt(name.Type() != nil, n.Pos(), "missing type: %v", name) name.SetTypecheck(1) } } // tcCall typechecks an OCALL node. func tcCall(n *ir.CallExpr, top int) ir.Node {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 06 15:23:18 UTC 2024 - 21.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils.cc
auto op = builder.create<CustomOp>( func.getLoc(), func.getFunctionType().getResults(), func.getArguments(), api, CustomOption(&builder, custom_option_buffer)); builder.create<func::ReturnOp>(func.getLoc(), op.getResults()); return success(); } LogicalResult VerifySgnnProjection(func::FuncOp func, FuncAttr attr) { if (func.getFunctionType().getNumInputs() != 2 || func.getFunctionType().getNumResults() != 1) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir
func.return %0 : tensor<4xi32> } // CHECK-LABEL: func @div_unranked func.func @div_unranked(%arg0: tensor<*xi32>, %arg1: tensor<?x?xi32>) -> tensor<?x?xi32> { // CHECK-NEXT: tf.Div %0 = "tf.Div"(%arg0, %arg1) : (tensor<*xi32>, tensor<?x?xi32>) -> tensor<?x?xi32> func.return %0: tensor<?x?xi32> } // CHECK-LABEL: func @maximum
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 18.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir
func.return %0 : tensor<4xcomplex<f64>> } func.func @f16() -> tensor<4xf16> { // CHECK-LABEL: @f16 // CHECK: value = dense<[1.000000e+00, 2.000000e+00, 3.000000e+00, 4.000000e+00]> : tensor<4xf16> %0 = "tfl.pseudo_const"() { value = dense<[1.0, 2.0, 3.0, 4.0]> : tensor<4xf16> } : () -> tensor<4xf16> func.return %0 : tensor<4xf16> } func.func @f32() -> tensor<4xf32> { // CHECK-LABEL: @f32
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 02 09:41:17 UTC 2024 - 12.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/vhlo.mlir
// test stablehlo roundtrip // Identity function to make the exporter happy func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> { func.return %arg0 : tensor<4xi8> } //CHECK:func.func @main(%arg0: tensor<4xi8>) -> tensor<4xi8> attributes {tf.entry_function = {inputs = "arg0", outputs = "arg0"}} { //CHECK: return %arg0 : tensor<4xi8> //CHECK:} func.func @logistic(%arg0: tensor<1x1x1x96xf32>) -> tensor<1x1x1x96xf32> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 14 19:15:40 UTC 2024 - 31.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir
// CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func func.func @check_sharding_attrs_exists_for_empty_cluster_func() { "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> () // CHECK: input_sharding_configuration = [] // CHECK: output_sharding_configuration = [] func.return } // CHECK-LABEL: func @empty_func() { func.func @empty_func() { func.return }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Feb 20 19:07:52 UTC 2024 - 47.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir
func.return %1 : tensor<5xi64> } // CHECK-LABEL: func @testEmptyFloat func.func @testEmptyFloat() -> (tensor<5xf64>) { %0 = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32> // CHECK: [[VAL:%.+]] = "tf.Const"() <{value = dense<0.000000e+00> : tensor<5xf64>}> // CHECK: return [[VAL]] %1 = "tf.Empty"(%0) : (tensor<i32>) -> (tensor<5xf64>) func.return %1 : tensor<5xf64> }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 31 23:22:24 UTC 2024 - 36.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir
// CHECK: func @callee4() func.func @callee4() { // CHECK: [[CALLEE4_INIT_TOKEN:%.*]] = mhlo.create_token // CHECK: [[CALL_5:%.*]] = call @callee5([[CALLEE4_INIT_TOKEN]]) func.call @callee5() : () -> () // CHECK: return func.return } // CHECK: func private @callee5([[CALLEE5_ARG0:%.*]]: !mhlo.token) -> !mhlo.token func.func private @callee5() { // CHECK-NOT: mhlo.create_token
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 08 18:24:20 UTC 2024 - 38.3K bytes - Viewed (0)