Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for set_f (0.05 sec)

  1. tensorflow/compiler/jit/force_xla_constants_on_host_pass_test.cc

                                          {"Tperm", DT_INT32},
                                      }}},
                                    {{"c", "t0:y:0"}});
    
      AttrValue true_attribute;
      true_attribute.set_b(true);
      (*called_func.mutable_attr())[kXlaMustCompileAttr] = true_attribute;
      *library.add_function() = called_func;
      TF_ASSERT_OK(root.graph()->AddFunctionLibrary(library));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-minify/kotlin/build.gradle.kts

    val artifactType = Attribute.of("artifactType", String::class.java)
    val minified = Attribute.of("minified", Boolean::class.javaObjectType)
    // end::artifact-transform-attribute-setup[]
    val keepPatterns = mapOf(
        "guava" to setOf(
            "com.google.common.base.Optional",
            "com.google.common.base.AbstractIterator"
        )
    )
    
    // end::artifact-transform-registration[]
    // tag::artifact-transform-attribute-setup[]
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  3. build-logic-commons/module-identity/src/main/kotlin/gradlebuild.module-identity.gradle.kts

        listOf("install", "installAll")
            .flatMap { listOf(":distributions-full:$it", "distributions-full:$it", it) }
            .any(gradle.startParameter.taskNames::contains)
    
    fun isRunningDocsTestTask() =
        setOf(":docs:docsTest", "docs:docsTest")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/InstrumentedInputAccessListener.kt

    import org.gradle.internal.event.ListenerManager
    import org.gradle.internal.service.scopes.Scope
    import org.gradle.internal.service.scopes.ServiceScope
    import java.io.File
    
    
    private
    val allowedProperties = setOf(
        "os.name",
        "os.version",
        "os.arch",
        // TODO(https://github.com/gradle/gradle/issues/18432) Remove this from the list when a proper support for the modifications is in place.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. build-logic-commons/basics/src/main/kotlin/gradlebuild.minify.gradle.kts

     * remain in their original namespace. This reduces the final Gradle distribution
     * size and makes us more conscious of which parts of a library we really need.
     */
    val keepPatterns = mapOf(
        "fastutil" to setOf(
            // For Java compilation incremental analysis
            "it.unimi.dsi.fastutil.ints.IntOpenHashSet",
            "it.unimi.dsi.fastutil.ints.IntSets",
            // For the embedded Kotlin compiler
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/declarations/KotlinFileBasedDeclarationProvider.kt

            }
    
            return emptyList()
        }
    
        override fun findInternalFilesForFacade(facadeFqName: FqName): Collection<KtFile> = emptyList()
    
        override fun computePackageNames(): Set<String> = setOf(kotlinFile.packageFqName.asString())
    
        override val hasSpecificClassifierPackageNamesComputation: Boolean get() = false
        override val hasSpecificCallablePackageNamesComputation: Boolean get() = false
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:44:50 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/isolation/IsolatedActionSerializerTest.kt

                mapOf("foo" to 1, "bar" to 2)
            )
        }
    
        @Test
        fun `can serialize Java lambda with SetProperty`() {
            assertProviderRoundtrip(
                setPropertyOf(1, 2, 3),
                setOf(1, 2, 3)
            )
        }
    
        interface Dsl {
            val property: Property<String>
        }
    
        @Test
        fun `can serialize Java lambda with Gradle model`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/xla_kernel_creator_test.cc

      std::unique_ptr<FunctionLibraryDefinition> lib_def_;
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr_;
    
      std::unique_ptr<OpKernel> kernel_;
    };
    
    AttrValue BoolAttr(bool b) {
      AttrValue v;
      v.set_b(b);
      return v;
    }
    
    TEST_F(XlaKernelCreatorTest, OneFloatOneResourceArgument) {
      FunctionDef fdef = XTimesY();
      (*fdef.mutable_attr())["_XlaMustCompile"] = BoolAttr(true);
      Init({fdef});
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 16 01:39:55 UTC 2023
    - 5.7K bytes
    - Viewed (0)
  9. platforms/core-configuration/bean-serialization-services/src/main/kotlin/org/gradle/internal/serialize/beans/services/BeanSchema.kt

        }
    }
    
    
    private
    fun isRelevantDeclaringClass(declaringClass: Class<*>): Boolean =
        declaringClass !in irrelevantDeclaringClasses
    
    
    private
    val irrelevantDeclaringClasses = setOf(
        Object::class.java,
        DefaultTask::class.java,
        ConventionTask::class.java
    )
    
    
    private
    val Class<*>.relevantFields: Sequence<Field>
        get() = declaredFields.asSequence()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/ResolutionTracerTest.kt

            val outerErrors = assertNotNull(resolver.trace.expressionResolution(call).errors)
            assertEquals(2, outerErrors.size)
            assertEquals(
                setOf(ErrorReason.UnresolvedFunctionCallSignature::class, ErrorReason.UnresolvedFunctionCallArguments::class),
                outerErrors.map { it.errorReason::class }.toSet()
            )
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Feb 06 23:16:59 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top