Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for set_b (0.18 sec)

  1. tensorflow/compiler/jit/node_matchers.cc

      return props;
    }
    
    std::pair<string, AttrValue> impl::AttrLiteralHelper(
        const std::pair<string, bool>& bool_attr) {
      AttrValue attr_value;
      attr_value.set_b(bool_attr.second);
      return {bool_attr.first, attr_value};
    }
    
    std::pair<string, AttrValue> impl::AttrLiteralHelper(
        const std::pair<string, absl::Span<const int>>& int_list_attr) {
      AttrValue attr_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 03 16:15:20 UTC 2022
    - 16.8K bytes
    - Viewed (0)
  2. 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)
  3. tensorflow/compiler/jit/compilability_check_util_test.cc

      GraphDefBuilder b(GraphDefBuilder::kFailImmediately);
      Scope root = Scope::NewRootScope().ExitOnError();
      FunctionDefLibrary library;
    
      AttrValue true_attribute;
      true_attribute.set_b(true);
    
      FunctionDef identity_func = FunctionDefHelper::Create(
          "IdentityFunc",
          /*in_def=*/{"x:float"},
          /*out_def=*/{"res:float"},
          /*attr_def=*/{},
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 10 12:32:39 UTC 2022
    - 22.3K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            "getCPPCompiler" | "isCPPCompiler" | "setCPPCompiler" | "CPPCompiler"
            "getA"           | "isA"           | "setA"           | "a"
            "getb"           | "isb"           | "setb"           | "b"
        }
    
        static class Bean {
            private String myurl, myURL, mycCompiler, myCCompilerField, mycppCompilerField, myCPPCompilerField, mya, myb
            String getUrl() { myurl }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      // Check host graph: verify we have key placeholder and sequencer.
      std::unique_ptr<FunctionBody> host_fbody;
      AttrValue device_ordinal_temp_value;
      device_ordinal_temp_value.set_i(0);
      protobuf::Map<string, AttrValue> host_func_attrs;
      host_func_attrs["_device_ordinal"] = device_ordinal_temp_value;
      TF_CHECK_OK(FunctionDefToBodyHelper(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 41K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/feature_variants.adoc

    - the configuration `mongodbSupportRuntimeElements`, used by consumers to fetch the artifacts and runtime dependencies of this feature
    
    A feature should have a _source set_ with the same name.
    Gradle will create a `Jar` task to bundle the classes built from the feature source set, using a classifier corresponding to the kebab-case name of the feature.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 18:45:05 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  10. 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)
Back to top