Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 81 for set_f (0.06 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc

    Status ConvertAttribute(const mlir::BoolAttr& attr, AttrValue* value) {
      value->set_b(attr.getValue());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::IntegerAttr& attr, AttrValue* value) {
      value->set_i(attr.getInt());
      return absl::OkStatus();
    }
    
    Status ConvertAttribute(const mlir::FloatAttr& attr, AttrValue* value) {
      value->set_f(attr.getValueAsDouble());
      return absl::OkStatus();
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  2. tensorflow/c/kernels_test.cc

        EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        EXPECT_FLOAT_EQ(2.718, val);
        TF_DeleteStatus(status);
        return static_cast<void*>(s);
      };
    
      AttrValue v;
      v.set_f(2.718);
      CreateAndCallKernelWithAttr(my_create_func, "TestKernelAttrFloat", v);
    }
    
    TEST_F(TestKernelAttr, FloatList) {
      auto my_create_func = [](TF_OpKernelConstruction* ctx) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild.dependency-modules.gradle.kts

            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdScp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.sshdSftp, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.gradleProfiler, setOf("slf4j-simple"))
            withLibraryDependencies<DependencyRemovalByNameRule>(libs.samplesCheck, setOf("slf4j-simple"))
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 20:15:18 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  4. integration-tests/gradle/build.gradle.kts

      )
    val expectedCompileClasspathAndroidVersion =
      expectedReducedRuntimeClasspathAndroidVersion + setOf("j2objc-annotations-3.0.0.jar")
    val expectedCompileClasspathJreVersion =
      expectedReducedRuntimeClasspathJreVersion + setOf("j2objc-annotations-3.0.0.jar")
    
    val extraLegacyDependencies = setOf("google-collections-1.0.jar")
    
    buildscript {
      val agpVersion = if (gradle.gradleVersion.startsWith("5.")) "3.6.4" else "7.0.4"
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 03 20:33:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl-provider-plugins/src/test/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/ReduceGraphTest.kt

                        "d" to listOf("b", "e2")
                    )
                ),
                equalTo(
                    mapOf(
                        "a" to setOf("e1", "e2"),
                        "b" to setOf("e1"),
                        "c" to setOf("e1", "e2"),
                        "d" to setOf("e1", "e2")
                    )
                )
            )
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/ide/eclipse/kotlin/build.gradle.kts

    eclipse {
        classpath {
            plusConfigurations += functional
        }
    }
    
    // tag::test-sources[]
    eclipse {
        classpath {
            testSourceSets = testSourceSets.get() + setOf(integTest)
            testConfigurations = testConfigurations.get() + setOf(functional)
        }
    }
    // end::test-sources[]
    
    // tag::test-fixtures[]
    eclipse {
        classpath {
            containsTestFixtures = true
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/upgrade_graph.cc

                (*node_def.mutable_attr())["shared_name"].set_s(node_def.name());
              } else {
                // Use the concat of function name and node name for such ops in a
                // function as the shared_name. "@" is used as the separator because
                // it is not allowed in the function name or the node name.
                (*node_def.mutable_attr())["shared_name"].set_s(
                    absl::StrCat(node_def.name(), "@", func_name));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 27 14:33:47 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. regression-test/build.gradle.kts

      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    
    
    dependencies {
      val okhttpLegacyVersion = "3.12.12"
    
      implementation(libs.kotlin.reflect)
      implementation(libs.playservices.safetynet)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-declaringCapabilities/kotlin/build.gradle.kts

    // tag::declare_capability[]
    dependencies {
        // Activate the "LoggingCapability" rule
        components.all(LoggingCapability::class.java)
    }
    
    class LoggingCapability : ComponentMetadataRule {
        val loggingModules = setOf("log4j", "log4j-over-slf4j")
    
        override
        fun execute(context: ComponentMetadataContext) = context.details.run {
            if (loggingModules.contains(id.name)) {
                allVariants {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-provider/src/main/kotlin/org/gradle/internal/declarativedsl/project/ProjectInterpretationSequenceStep.kt

     * configured in the Settings DSL.
     */
    internal
    fun projectInterpretationSequenceStep(softwareTypeRegistry: SoftwareTypeRegistry) = SimpleInterpretationSequenceStepWithConversion(
        "project",
        features = setOf(ConventionApplication()),
    ) {
        projectEvaluationSchema(softwareTypeRegistry)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 13:47:10 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top