Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for variadicOk (0.19 sec)

  1. src/cmd/compile/internal/types2/signature.go

    	}
    
    	sig.params = NewTuple(params...)
    	sig.results = NewTuple(results...)
    	sig.variadic = variadic
    }
    
    // collectParams declares the parameters of list in scope and returns the corresponding
    // variable list.
    func (check *Checker) collectParams(scope *Scope, list []*syntax.Field, variadicOk bool, scopePos syntax.Pos) (params []*Var, variadic bool) {
    	if list == nil {
    		return
    	}
    
    	var named, anonymous bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_ops.td

      }];
    
      let arguments = (ins
        TFTensorType:$max_iterations,
        Variadic<TFTensorType>:$tensor_list_or_flow_in,
        Variadic<TFTensorType>:$invariant_args,
        FlatSymbolRefAttr:$body_fn,
        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TFTensorType>:$result
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrFalse),
            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 18:45:51 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      }];
    
      let arguments = (ins
        TF_Tensor:$max_iterations,
        Variadic<TF_Tensor>:$tensor_list_or_flow_in,
        Variadic<TF_Tensor>:$invariant_args,
        FlatSymbolRefAttr:$body_fn,
        I32Attr:$num_tensor_list_or_flow_in
      );
    
      let results = (outs
         Variadic<TF_Tensor>:$result
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

          input fallback tensors.
    
        results: the converted corert tensorhandles.
      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$args,
        StrAttr:$device
      );
    
      let results = (outs
        Variadic<CoreRT_TensorHandleType>:$results
      );
    
      let assemblyFormat = "operands attr-dict `:` `(` type($args) `)` `->` `(` type($results) `)`";
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

        TF_StrTensor:$names,
        Variadic<TF_StrTensor>:$sparse_keys,
        Variadic<TF_StrTensor>:$dense_keys,
        Variadic<TensorOf<[TF_Float32, TF_Int64, TF_Str]>>:$dense_defaults,
    
        TF_ShapeAttrArray:$dense_shapes
      );
    
      let results = (outs
        Variadic<TF_Int64Tensor>:$sparse_indices,                           // len(sparse_types)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/host_runtime/tfrt_ops.td

        element of `args` is a key to a loaded array corresponding to a variable.
      }];
    
      let arguments = (ins
        Variadic<TF_Tensor> : $args,
        I64Attr : $program_id,
        I32ArrayAttr : $variable_arg_indices
      );
    
      let results = (outs Variadic<TF_Tensor> : $results);
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    // ops that match the behaviour of tfl.average_pool_2d are directly lowered.
    def LegalizeAvgPool2dComposite: Pat<
                        (MHLO_CompositeOp:$old_val
                        (variadic $a_input), 
                        ConstantStrAttr<StrAttr, "aten.avg_pool2d.default">, $attrs, $_, $_),
                        (TFL_TransposeOp 
                            (TFL_AveragePool2DOp 
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tfrt/ir/gpu_ops.td

      }];
    
      let arguments = (ins
        Variadic<TFTensorType>:$operands,
        StrAttr:$func_name,
        I64ArrayAttr:$resource_indices,
        I64ArrayAttr:$used_output_indices
      );
      let results = (outs
        Variadic<TFTensorType>:$results
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/call.go

    	// --------------+------------------+----------------+
    	// variadic func | nargs >= npars-1 | nargs == npars |
    	// --------------+------------------+----------------+
    
    	nargs := len(args)
    	npars := sig.params.Len()
    	ddd := hasDots(call)
    
    	// set up parameters
    	sigParams := sig.params // adjusted for variadic functions (may be nil for empty parameter lists!)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31.5K bytes
    - Viewed (0)
Back to top