Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for setAttr (0.34 sec)

  1. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

                              default_value);
    }
    
    string AttrView::SetterMethod() const {
      if (!attr_.is_list()) {
        return absl::StrCat("SetAttr", toUpperCamel(attr_.full_type()));
      } else {
        return absl::StrCat("SetAttr", toUpperCamel(attr_.base_type()), "List");
      }
    }
    
    std::vector<string> AttrView::SetterArgs() const {
      if (attr_.full_type() == "string") {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      ConstOp zero = builder.create<ConstOp>(loc, zero_attr);
      zero->setAttr(kICIWeightDistributionMlirBridgeMarker,
                    builder.getBoolAttr(true));
      ConstOp shape = builder.create<ConstOp>(loc, shape_attr);
      shape->setAttr(kICIWeightDistributionMlirBridgeMarker,
                     builder.getBoolAttr(true));
      FillOp fill = builder.create<FillOp>(loc, shape, zero);
      fill->setAttr(kICIWeightDistributionMlirBridgeMarker,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            *sharding_proto.add_tuple_shardings() =
                ::xla::sharding_builder::AssignDevice(0);
            data_and_token->setAttr(
                kShardingAttr,
                rewriter.getStringAttr(sharding_proto.SerializeAsString()));
          } else {
            data_and_token->setAttr(kShardingAttr, op.get_XlaShardingAttr());
          }
        }
    
        if (op->hasAttr("layouts")) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirSyntheticJavaPropertySymbol.kt

            get() = withValidityAssertion {
                val fir = firSymbol.fir as FirSyntheticProperty
                return fir.setter?.delegate?.let { builder.functionLikeBuilder.buildFunctionSymbol(it.symbol) }
            }
    
        override val setter: KaPropertySetterSymbol?
            get() = withValidityAssertion {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
  5. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KaFirPropertyDelegationMethodsReference.kt

            if (property.delegate == null) return emptyList()
            val getValueSymbol = (property.getter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            val setValueSymbol = (property.setter?.singleStatementOfType<FirReturnExpression>()?.result as? FirFunctionCall)?.getCalleeSymbol()
            return listOfNotNull(
                getValueSymbol?.fir?.buildSymbol(firSymbolBuilder),
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

             * (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call.
             * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined
             * getter/setter) then this method is not used at all. Instead
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 08:42:45 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  7. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/KnownProblemIds.groovy

            'validation:property-validation:nested-type-unsupported' : 'Nested type unsupported',
            'validation:property-validation:mutable-type-with-setter' : 'Mutable type with setter',
            'validation:property-validation:private-getter-must-not-be-annotated' : 'Private property with wrong annotation',
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:07:53 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertyGetterSymbol.kt

        override val annotations by cached {
            KaFirAnnotationListForDeclaration.create(firSymbol, builder)
        }
    
        /**
         * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property.
         * Otherwise, returns `null`
         */
        override val callableId: CallableId? by cached {
            val fir = firSymbol.fir
            if (fir is FirSyntheticPropertyAccessor) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/KtFe10DescDefaultPropertySetterSymbol.kt

            override val analysisContext: Fe10AnalysisContext
        ) : KaValueParameterSymbol(), KaFe10Symbol {
            val descriptor: ValueParameterDescriptor?
                get() = propertyDescriptor.setter?.valueParameters?.singleOrNull()
    
            override val hasDefaultValue: Boolean
                get() = withValidityAssertion { false }
    
            override val isVararg: Boolean
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/symbols/KtFirPropertySetterSymbol.kt

        override val annotations by cached {
            KaFirAnnotationListForDeclaration.create(firSymbol, builder)
        }
    
        /**
         * Returns [CallableId] of the delegated Java method if the corresponding property of this setter is a synthetic Java property.
         * Otherwise, returns `null`
         */
        override val callableId: CallableId? by cached {
            val fir = firSymbol.fir
            if (fir is FirSyntheticPropertyAccessor) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top