Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for set_b (0.04 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. src/test/java/org/codelibs/core/beans/util/BeanUtilTest.java

        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testCopy_BeanToMap() throws Exception {
            final HogeDto hoge = new HogeDto();
            hoge.setA("A");
            hoge.setB(true);
            hoge.setC(3);
            final Map<String, Object> map = newHashMap();
            BeanUtil.copyBeanToMap(hoge, map);
            assertThat(map, is(notNullValue()));
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

      TF_RETURN_IF_ERROR(ConvertToDataType(arg_type.getElementType(), &dtype));
      AttrValue type_attr;
      type_attr.set_type(dtype);
      (*node_def->mutable_attr())["T"] = type_attr;
    
      AttrValue index_attr;
      index_attr.set_i(index);
      (*node_def->mutable_attr())["index"] = index_attr;
    
      if (auto device_attr =
              func.getArgAttrOfType<mlir::StringAttr>(index, kDeviceAttr))
        *node_def->mutable_device() = device_attr.getValue().str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

      TF_RETURN_IF_ERROR(ConvertToDataType(arg_type.getElementType(), &dtype));
      AttrValue type_attr;
      type_attr.set_type(dtype);
      (*node_def->mutable_attr())["T"] = type_attr;
    
      AttrValue index_attr;
      index_attr.set_i(index);
      (*node_def->mutable_attr())["index"] = index_attr;
    
      if (auto device_attr =
              func.getArgAttrOfType<mlir::StringAttr>(index, kDeviceAttr))
        *node_def->mutable_device() = device_attr.getValue().str();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/envcmd/env.go

    		case '%':
    			b.WriteString("%%")
    		case '<', '>', '|', '&', '^':
    			// These are special characters that need to be escaped with ^. See
    			// https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/set_1.
    			b.WriteByte('^')
    			b.WriteByte(x)
    		default:
    			b.WriteByte(x)
    		}
    	}
    	return b.String()
    }
    
    func printEnvAsJSON(env []cfg.EnvVar, onlyChanged bool) {
    	m := make(map[string]string)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
       *           .setA(a)
       *           .setB(b)
       *           .setC(c)
       *           .setD(d)
       *           .build();
       *     }
       *   }
       *
       *   public void testEquals() {
       *     new ClassSanityTester()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *
       *   private static class FooFactoryForTest {
       *     public static Foo create(String a, String b, int c, boolean d) {
       *       return Foo.builder()
       *           .setA(a)
       *           .setB(b)
       *           .setC(c)
       *           .setD(d)
       *           .build();
       *     }
       *   }
       *
       *   public void testEquals() {
       *     new ClassSanityTester()
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/authoring-builds/plugins/implementing_gradle_plugins_binary.adoc

    ====
    
    NOTE: Only Gradle versions 7 or higher can be explicitly targeted by a variant, as support for this was only added in Gradle 7.
    
    First, we declare a separate _source set_ and a _feature variant_ for our Gradle 7 plugin variant.
    Then, we do some specific wiring to turn the feature into a proper Gradle plugin variant:
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 29 02:31:44 UTC 2024
    - 37.7K bytes
    - Viewed (0)
Back to top