Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for StrAttr (0.54 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/tf_quant_ops.td

        StrAttr:$output_file_path,
        StrArrayAttr:$ids,
        I32ArrayAttr:$calibration_methods
      );
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>;
    }
    
    def TF_DumpTensorOp : TF_Op<"DumpTensor", []> {
      let summary = "Dump tensor proto.";
    
      let arguments = (ins
        Arg<TF_Tensor>:$input,
    
        StrAttr:$log_dir_path,
        StrAttr:$file_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 01:09:50 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tfrt/ir/tfrt_fallback_async.td

      }];
    
      let arguments = (ins
        TFRT_ChainType:$in_ch,
        I64Attr:$num_args,
        StrAttr:$device,
        ArrayAttr:$op_attrs,
        // TODO(b/173025975): consider using DictionaryAttr after we support
        // BEF conversion for this type.
        ArrayAttr:$op_func_attrs,
        I64Attr:$op_key,
        StrAttr:$op_name
      );
    
      let results = (outs
        TFRT_ChainType:$out_ch
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 18 15:01:21 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_lowering_patterns.td

              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
            (TFL_GeluOp $inputs, ConstBoolAttrFalse),
            [(IsStrCompositeAttribute<"approximate", "none"> $attrs)]>;
    
    def LegalizeCompositeApproximateAtenGELU : Pat<
            (MHLO_CompositeOp:$composite
              (variadic $inputs),
              ConstantStrAttr<StrAttr, "aten.gelu.default">, $attrs, $_, $_),
    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_mlrt_ops.td

      }];
    
      let arguments = (ins
        StrAttr:$node_def,
        I32Attr:$op_key
      );
    
      let assemblyFormat = "attr-dict";
    }
    
    def ConstOp: TensorflowMlrt_Op<"constop", []> {
      let summary = "The tf_mlrt ConstOp";
    
      let description = [{
        The ConstOp creates a constant tensorflow::Tensor from serialized proto.
      }];
    
      let arguments = (ins
        StrAttr:$tensor_proto
      );
    
      let results = (outs
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 31 20:44:15 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_mlrt_tpu_ops.td

      }];
      let arguments = (ins
        Variadic<TFTensorType>:$operands_and_static_shapes,
        DenseI32ArrayAttr:$constant_operand_indices,
        StrAttr:$metadata,
        StrAttr:$mlir_module,
        UI32Attr:$num_operands,
        DenseI32ArrayAttr:$operands_with_static_shape,
        StrAttr:$producer_name
      );
    
      let results = (outs
        TFTensorType:$rendezvous_key_base,
        Variadic<MlrtFutureType>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 04 21:25:31 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    underlying graph, and executes each of the partitioned subgraphs as a function.
      }];
    
      let arguments = (ins
        Variadic<TF_Tensor>:$args,
    
        FlatSymbolRefAttr:$f,
        StrAttr:$config,
        StrAttr:$config_proto,
        StrAttr:$executor_type
      );
    
      let results = (outs
        Variadic<TF_Tensor>:$output
      );
    
      TF_DerivedOperandTypeListAttr Tin = TF_DerivedOperandTypeListAttr<0>;
    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/lite/stablehlo/transforms/composite_utils.td

      IsCompositeAttribute<attr_name, BoolAttr, val>;
    
    // Receives a composite DictionaryAttr as an argument and checks if has a
    // StrAttr with the name `attr_name` and value `val`.
    class IsStrCompositeAttribute <string attr_name, string val>:
      IsCompositeAttribute<attr_name, StrAttr, "\"" # val # "\"">;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 08 19:05:30 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_device_ops.td

      let summary = "Send a value to a host.";
    
      let description = [{
        Send the value to the given host with the given rendezvous key.
      }];
    
      let arguments = (ins
        AnyType:$value,
        StrAttr:$key,
        StrAttr:$dst_host
      );
    
      let results = (outs);
    
      let assemblyFormat = [{$value $key $dst_host attr-dict `:` type($value)}];
    }
    
    def TfDevice_ReceiveOp : TfDevice_Op<"receive", []> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/composite_avg_pool_patterns.td

    def LegalizeAvgPool2dComposite: Pat<
                        (MHLO_CompositeOp:$old_val
                        (variadic $a_input), 
                        ConstantStrAttr<StrAttr, "aten.avg_pool2d.default">, $attrs, $_, $_),
                        (TFL_TransposeOp 
                            (TFL_AveragePool2DOp 
                                /*input*/ (TFL_TransposeOp $a_input,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 23:16:05 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfrt/ir/mlrt/tf_ops.td

      }];
      let arguments = (ins
        Variadic<TF_Tensor>:$operands_and_static_shapes,
        DenseI32ArrayAttr:$constant_operand_indices,
        StrAttr:$metadata,
        StrAttr:$mlir_module,
        UI32Attr:$num_operands,
        DenseI32ArrayAttr:$operands_with_static_shape,
        StrAttr:$producer_name
      );
    
      let results = (outs
        TF_Tensor:$rendezvous_key_base,
        Variadic<TF_Tensor>:$results
      );
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 21:35:32 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top