Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for AttrValue (0.66 sec)

  1. tensorflow/c/kernels_test.cc

      def.add_input("input1");
      def.add_input("input2");
      def.add_input("input3");
      def.add_input("input3");
      def.add_input("input3");
    
      AttrValue v0;
      v0.set_type(DataType::DT_INT32);
      v0.set_i(3);
      (*def.mutable_attr())["NumInput3"] = v0;
      AttrValue v1;
      v1.set_type(DataType::DT_FLOAT);
      (*def.mutable_attr())["SomeDataTypeAttr"] = v1;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/ldap/LdapManager.java

                if (attr == null) {
                    continue;
                }
    
                for (int i = 0; i < attr.size(); i++) {
                    final Object attrValue = attr.get(i);
                    if (attrValue != null) {
                        final String entryDn = attrValue.toString();
    
                        if (logger.isDebugEnabled()) {
                            logger.debug("entryDn: {}", entryDn);
                        }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 65.9K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/IvyXmlModuleDescriptorParser.java

                    if (leftOp.equals("org") || leftOp.equals("organization")) {
                        leftOp = "organisation";
                    }
    
                    String attrValue = dd.getAttribute(leftOp);
                    if (!rightOp.equals(attrValue)) {
                        return null;
                    }
                } else {
                    String leftOp = condition.substring(0, notEqualIndex).trim();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 65K bytes
    - Viewed (0)
  4. tensorflow/c/c_api_function_test.cc

      // Set attr
      tensorflow::AttrValue attr;
      attr.set_s("test_attr_value");
      string bytes;
      attr.SerializeToString(&bytes);
      TF_FunctionSetAttrValueProto(func_, "test_attr_name", bytes.data(),
                                   bytes.size(), s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Get attr
      AttrValue read_attr;
      GetAttr("test_attr_name", &read_attr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 22:08:54 UTC 2023
    - 63.6K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.h

                                                    TF_Status* status);
    
    // `proto` should point to a sequence of bytes of length `proto_len`
    // representing a binary serialization of an AttrValue protocol
    // buffer.
    TF_CAPI_EXPORT extern void TF_SetAttrValueProto(TF_OperationDescription* desc,
                                                    const char* attr_name,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api_test.cc

      TFE_DeleteTensorHandle(tensor_handle);
    
      tensorflow::AttrValue i_list_values;
      for (int i = 0; i < 4; ++i) {
        i_list_values.mutable_list()->add_i(1);
      }
      SetOpAttrValueScalar(ctx, op, i_list_values, "ksize", status);
      SetOpAttrValueScalar(ctx, op, i_list_values, "strides", status);
    
      tensorflow::AttrValue padding_value;
      *padding_value.mutable_s() = "VALID";
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 20:50:20 UTC 2023
    - 94.6K bytes
    - Viewed (0)
  7. tensorflow/c/c_api_test.cc

      EXPECT_EQ(0, TF_OperationOutputNumConsumers(TF_Output{feed, 0}));
      EXPECT_EQ(0, TF_OperationNumControlInputs(feed));
      EXPECT_EQ(0, TF_OperationNumControlOutputs(feed));
    
      tensorflow::AttrValue attr_value;
      ASSERT_TRUE(GetAttrValue(feed, "dtype", &attr_value, s)) << TF_Message(s);
      EXPECT_EQ(attr_value.type(), tensorflow::DT_INT32);
    
      // Test not found errors in TF_Operation*() query functions.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/python/tfr_gen.py

            elt_ty = TFRTypes.NONE
            values = []
          array_attr_elts = ['{}:{}'.format(val, elt_ty) for val in values]
          return '[{}]'.format(','.join(array_attr_elts))
      raise NotImplementedError(
          'Proto AttrValue not recognized. type: {}, value: {}'.format(
              attr_type, attr_val))
    
    
    def _collect_derived_attrs_from_proto(op_def):
      derived_attrs = set()
      for arg in op_def.input_arg:
        if arg.type_attr:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 27 15:27:03 UTC 2022
    - 55.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

          continue;
        }
    
        if (node->type_string() == "Const") {
          // Skip Const op with type DT_STRING, since XLA autoclustering doesn't
          // support it.
          const AttrValue* attr = node->attrs().Find("dtype");
          if (attr != nullptr && attr->type() == DT_STRING) {
            continue;
          }
        }
    
        if (!allowlist.empty() && !allowlist.contains(node->def().op())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
Back to top