Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for set_type (0.16 sec)

  1. tensorflow/compiler/jit/extract_outside_compilation_pass.cc

          fld->ReplaceFunction(shape_inference_graph_name, fdef_replace));
    
      return absl::OkStatus();
    }
    
    void SetMaximalSharding(NodeDefBuilder& node_builder) {
      xla::OpSharding sharding;
      sharding.set_type(xla::OpSharding::MAXIMAL);
      sharding.add_tile_assignment_dimensions(1);
      sharding.add_tile_assignment_devices(0);
      node_builder.Attr("_XlaSharding", sharding.SerializeAsString());
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 104.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      }
      if (refined_shape || lhs_element_type != lhs_shape_type.getElementType()) {
        Type new_type;
        if (!lhs_shape_type.hasRank() && !rhs_shape_type.hasRank())
          new_type = UnrankedTensorType::get(lhs_element_type);
        else
          new_type = lhs_shape_type.clone(shape, lhs_element_type);
        DCOMMENT("Refined to: " << new_type);
        return new_type;
      }
      DCOMMENT("No refinement " << lhs);
      return lhs;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/data.go

    	types.SetType(sym.STYPE)
    	types.SetSize(8)
    	ldr.SetAttrSpecial(types.Sym(), false)
    
    	etypes := ldr.CreateSymForUpdate("runtime.etypes", 0)
    	etypes.SetType(sym.SFUNCTAB)
    	ldr.SetAttrSpecial(etypes.Sym(), false)
    
    	if ctxt.HeadType == objabi.Haix {
    		rodata := ldr.CreateSymForUpdate("runtime.rodata", 0)
    		rodata.SetType(sym.SSTRING)
    		rodata.SetSize(8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 12 15:10:50 UTC 2024
    - 100.5K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier_test.go

    						IP:       "100.101.102.103",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.104",
    						Port:     3001,
    						Protocol: strings.ToLower(string(v1.ProtocolSCTP)),
    						SetType:  utilipset.HashIPPort,
    					},
    					{
    						IP:       "100.101.102.105",
    						Port:     3001,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_ops_a_m.cc

      }
    
      if (auto int_type = mlir::dyn_cast<IntegerType>(etype)) {
        auto out_type = tensorflow::GetTypeFromTFTensorShape(out_shape, etype);
        APInt val(int_type.getWidth(), 0, int_type.getSignedness());
        return DenseElementsAttr::get(out_type, val);
      }
    
      return {};
    }
    
    //===----------------------------------------------------------------------===//
    // EmptyTensorListOp
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 146.7K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

                getType(Project.class),
                getType("Lorg/gradle/api/internal/project/ProjectInternal;"),
                getType(Gradle.class),
                getType("Lorg/gradle/api/internal/GradleInternal;")
            );
            private static final Type JAVA_LANG_REFLECT_TYPE = getType(java.lang.reflect.Type.class);
            private static final Type OBJECT_TYPE = getType(Object.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/translate/import_model.cc

              mlir::tf_saved_model::GlobalTensorOp>(func, i, symbol_table);
          if (global_tensor) {
            auto old_type = arg.getType();
            auto new_type =
                mlir::tf_saved_model::GetBoundInputArgTypeFor(global_tensor);
            arg.setType(new_type);
            if (global_tensor.getIsMutable()) {
              auto arg_with_original_type = builder.create<mlir::TF::CastOp>(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 01 11:17:36 UTC 2024
    - 183.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        auto new_cst = cst.reshape(RankedTensorType::get(
            normalized_shape, cst.getType().getElementType()));
        Type new_type = new_cst.getType();
        if (!IsBroadcastableElementsAttrAndType(new_type, filter.getType())) {
          return failure();
        }
    
        auto new_op =
            rewriter.create<arith::ConstantOp>(mul_op.getLoc(), new_type, new_cst);
        Value new_const_val = new_op.getResult();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

        if (!mlir::cast<ShapedType>(conv_op.getRhs().getType()).hasStaticShape()) {
          return false;
        }
        if (!mlir::cast<ShapedType>(conv_op.getLhs().getType()).hasStaticShape() &&
            !mlir::cast<ShapedType>(conv_op.getType()).hasStaticShape()) {
          auto dnums = conv_op.getDimensionNumbers();
          auto lhs_type = mlir::cast<ShapedType>(conv_op.getLhs().getType());
          auto out_type = mlir::cast<ShapedType>(conv_op.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

        }
      }
    
      std::vector<int64_t> new_shape = value_attr.getType().getShape().vec();
      new_shape[0] = lookup_attr.getType().getShape()[0];
      auto new_type = value_attr.getType().clone(new_shape);
    
      return DenseElementsAttr::get(new_type, new_values);
    }
    
    //===----------------------------------------------------------------------===//
    // ConstBytesAttr
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top