Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Unary (0.16 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

        return argumentOp->getOperand(0);
      }
    
      return {};
    }
    
    }  // namespace detail
    
    // This class adds property that the operation is idempotent.
    // This means a unary to unary operation "f" that satisfies f(f(x)) = f(x),
    // or a binary operation "g" that satisfies g(x, x) = x.
    template <typename ConcreteType>
    class IsIdempotent : public TraitBase<ConcreteType, IsIdempotent> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. internal/s3select/sql/parser.go

    type In struct {
    	JPathExpr *JSONPath `parser:"@@"`
    	ListExpr  *ListExpr `parser:"| @@"`
    }
    
    // Grammar for Operand:
    //
    // operand → multOp ( ("-" | "+") multOp )*
    // multOp  → unary ( ("/" | "*" | "%") unary )*
    // unary   → "-" unary | primary
    // primary → Value | Variable | "(" expression ")"
    //
    
    // An Operand is a single term followed by an optional sequence of
    // terms separated by +/-
    type Operand struct {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/transforms/einsum.cc

      if (op->getNumOperands() != 1) {
        return rewriter.notifyMatchFailure(
            op, "Function only supports unary einsum op");
      }
      RankedTensorType lhs =
          mlir::dyn_cast_or_null<RankedTensorType>(op.getOperand(0).getType());
      if (!lhs) {
        return failure();
      }
      // unary einsum op is only supported to the case where the operation can be
      // replaced using reduce_sum and/or transpose
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // - Labels themselves: `@label` in return`@label` or `label@`while...
                is KtLabelReferenceExpression ->
                    false
    
                // - The operation symbol itself in binary and unary operations: `!!`, `+`...
                is KtOperationReferenceExpression ->
                    false
    
                // All other expressions are used if their parent expression uses them.
                else ->
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/riscv/cpu.go

    	RM_RMM              // Round to Nearest, ties to Max Magnitude
    )
    
    // All unary instructions which write to their arguments (as opposed to reading
    // from them) go here. The assembly parser uses this information to populate
    // its AST in a semantically reasonable way.
    //
    // Any instructions not listed here are assumed to either be non-unary or to read
    // from its argument.
    var unaryDst = map[obj.As]bool{
    	ARDCYCLE:    true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 20 14:19:33 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. tensorflow/c/kernels_experimental.cc

      }
    
      const std::string type_index_name =
          ::tensorflow::port::MaybeAbiDemangle(a.TypeId().name());
    
      return ::tensorflow::errors::Internal(
          "No unary variant binary_op function found for op ADD Variant "
          "type_name: ",
          type_index_name, " for device type: ", cc_ctx->device()->name());
    }
    
    void TF_AddNVariant(TF_OpKernelContext* ctx,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  7. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/evaluate/FirCompileTimeConstantEvaluator.kt

                ConstantValueKind.Boolean -> CompileTimeType.BOOLEAN
                ConstantValueKind.String -> CompileTimeType.STRING
    
                else -> CompileTimeType.ANY
            }
        }
    
        // Unary operators
        private fun FirLiteralExpression.evaluate(function: FirSimpleFunction): FirLiteralExpression? {
            if (value == null) return null
            (value as? String)?.let { opr ->
                evalUnaryOp(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 11:53:09 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

    namespace mlir::quant {
    
    using QuantMethod = tensorflow::quantization::QuantizationMethod::PresetMethod;
    
    enum class OpType {
      kDynamicRangeOp,  // Dynamic Range kernels only have rhs attr.
      kUnaryOp,         // Unary ops have one min/max attr.
      kBinaryOp,        // Binary ops have lhs/rhs attr.
      kQuantizationOp,  // Quantization ops have input/output attr.
    };
    
    // For each op type, the following axis carries axis information:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  9. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

                                                 #v1, \
                                                 pred, \
                                                 v1), on_failure)
    
    // Unary predicate assertion macros.
    #define EXPECT_PRED_FORMAT1(pred_format, v1) \
      GTEST_PRED_FORMAT1_(pred_format, v1, GTEST_NONFATAL_FAILURE_)
    #define EXPECT_PRED1(pred, v1) \
      GTEST_PRED1_(pred, v1, GTEST_NONFATAL_FAILURE_)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  10. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/pmd/PmdPluginVersionIntegrationTest.groovy

            file("build/reports/pmd/test.xml").assertContents(containsClass("org.gradle.Class1Test"))
            output.contains "\tUsing multiple unary operators may be a bug"
            output.contains "\tEnsure you override both equals() and hashCode()"
        }
    
        void "can configure number of threads on good code"() {
            goodCode()
            buildFile << """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 28 18:47:00 UTC 2024
    - 13.5K bytes
    - Viewed (0)
Back to top