Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for attr_value (0.32 sec)

  1. tensorflow/c/kernels.cc

          LIST_CASE(tensor, TF_ATTR_FUNC);
    #undef LIST_CASE
          break;
    
        case tensorflow::AttrValue::kPlaceholder:
          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::kFunc:
          *list_size = -1;
          *total_size = -1;
          break;
    
        case tensorflow::AttrValue::VALUE_NOT_SET:
          status->status = absl::InvalidArgumentError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 22:53:47 UTC 2024
    - 36K bytes
    - Viewed (0)
  2. tensorflow/compiler/jit/compilability_check_util.cc

    #include "xla/statusor.h"
    #include "xla/union_find.h"
    #include "xla/util.h"
    #include "tensorflow/core/common_runtime/function.h"
    #include "tensorflow/core/common_runtime/graph_constructor.h"
    #include "tensorflow/core/framework/attr_value.pb.h"
    #include "tensorflow/core/framework/bounds_check.h"
    #include "tensorflow/core/framework/graph_def_util.h"
    #include "tensorflow/core/framework/memory_types.h"
    #include "tensorflow/core/framework/node_def.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

                        String attrValue = attrNode.getNodeValue();
                        if (StringUtil.isNotBlank(attrValue)) {
                            // if starting with www, append a protocol
                            if (attrValue.startsWith("www.")) {
                                attrValue = "http://" + attrValue;
                            }
                            return attrValue;
                        }
                    }
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/extract_outside_compilation_pass_test.cc

      EXPECT_EQ(shape_inference_graphs.size(), 0);
    
      // 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)
  5. tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc

                                                         .begin())>::value>::type>
    Status SetTypeAttribute(absl::string_view name, ContainerT types,
                            AttrValueMap* values) {
      AttrValue value;
      auto& type_list = *value.mutable_list();
      for (auto type : types) {
        DataType dtype;
        TF_RETURN_IF_ERROR(ConvertScalarTypeToDataType(type, &dtype));
        type_list.add_type(dtype);
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/ivyresolve/parser/GradleModuleMetadataParser.java

                    boolean attrValue = reader.nextBoolean();
                    attributes = attributesFactory.concat(attributes, Attribute.of(attrName, Boolean.class), attrValue);
                } else if (reader.peek() == NUMBER) {
                    Integer attrValue = reader.nextInt();
                    attributes = attributesFactory.concat(attributes, Attribute.of(attrName, Integer.class), attrValue);
                } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:07:04 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyManagementResultsAsInputsIntegrationTest.groovy

                    final String attrValue
                    @Inject ChangingAttributeRule(String attrValue) { this.attrValue = attrValue }
                    void execute(ComponentMetadataContext context) {
                        context.details.allVariants {
                            attributes.attribute(Attribute.of("my.attribute.name", String), attrValue)
                        }
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 19:04:04 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc

              mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
        llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes();
        if (!subtypes.empty()) {
          AttrValue handle_dtypes_attr;
          AttrValue handle_shapes_attr;
          for (mlir::TensorType subtype : subtypes) {
            DataType dtype;
            TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

              mlir::dyn_cast<mlir::TF::ResourceType>(arg_type.getElementType())) {
        llvm::ArrayRef<mlir::TensorType> subtypes = resource_type.getSubtypes();
        if (!subtypes.empty()) {
          AttrValue handle_dtypes_attr;
          AttrValue handle_shapes_attr;
          for (mlir::TensorType subtype : subtypes) {
            DataType dtype;
            TF_RETURN_IF_ERROR(ConvertToDataType(subtype.getElementType(), &dtype));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 23:04:51 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/utils/lstm_utils_test.cc

      } else {
        attributes.push_back(kLstmCellSimple);
      }
    
      if (cifg) {
        attributes.push_back(kCoupleInputForgetGates);
      }
    
      mlir::StringAttr attr_values =
          builder->getStringAttr(llvm::join(attributes, ","));
    
      func->setAttr(kTFImplements, attr_values);
      return func;
    }
    
    class LstmUtilsTest : public ::testing::Test {
     protected:
      LstmUtilsTest() {}
    
      void SetUp() override {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top