Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 32 for getOpt (0.44 sec)

  1. src/math/big/nat.go

    	}
    	m := a + (b-a)/2 // avoid overflow
    	return z.mul(nat(nil).mulRange(a, m), nat(nil).mulRange(m+1, b))
    }
    
    // getNat returns a *nat of len n. The contents may not be zero.
    // The pool holds *nat to avoid allocation when converting to interface{}.
    func getNat(n int) *nat {
    	var z *nat
    	if v := natPool.Get(); v != nil {
    		z = v.(*nat)
    	}
    	if z == nil {
    		z = new(nat)
    	}
    	*z = z.make(n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:31:58 UTC 2024
    - 31.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/xla_broadcast.cc

      if (!num_cores_per_replica_attr)
        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr));
      int num_cores_per_replica = num_cores_per_replica_attr.getInt();
    
      auto topology_attr = cluster->getAttrOfType<StringAttr>("topology");
      if (!topology_attr)
        return cluster.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kTopologyAttr));
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 13 18:52:07 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/transforms/legalize_tf.cc

        return false;
      if (ExtractSingleElementAsInteger(k).getInt() != 0) return false;
    
      // Extract num_rows constant tensor and check value = -1.
      ElementsAttr num_rows;
      if (!matchPattern(tf_matrix_diag_v2_or_v3_op.getNumRows(),
                        m_Constant(&num_rows)))
        return false;
      if (ExtractSingleElementAsInteger(num_rows).getInt() != -1) return false;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 20 20:06:54 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc

      llvm::DenseMap<func::FuncOp, llvm::DenseSet<func::FuncOp>> caller_callee_map;
      // Creates work queue for determining reachability below.
      std::queue<func::FuncOp> function_worklist;
    
      for (auto func : module.getOps<func::FuncOp>()) {
        for (auto user : symbol_map.getUsers(func)) {
          // Populates work queue with func ops called from TPUPartionedCall.
          if (llvm::isa<TF::TPUPartitionedCallOp>(user)) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 27.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      mlir::IntegerAttr num_cores_per_replica_attr =
          cluster->getAttrOfType<mlir::IntegerAttr>(kNumCoresPerReplicaAttr);
      if (num_cores_per_replica_attr) {
        return num_cores_per_replica_attr.getInt();
      } else {
        return 1;
      }
    }
    
    // Get the TPUDevicesAndHosts for a cluster that is not replicated.
    mlir::LogicalResult GetTPUDevicesAndHostsNotReplicated(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/declarative-dsl-provider/src/testFixtures/groovy/org/gradle/internal/declarativedsl/settings/SoftwareTypeFixture.groovy

                import org.gradle.declarative.dsl.model.annotations.Restricted;
    
    
                @Restricted
                public interface LibraryDependencies extends Dependencies {
    
                    DependencyCollector getApi();
    
                    DependencyCollector getImplementation();
    
                    DependencyCollector getRuntimeOnly();
    
                    DependencyCollector getCompileOnly();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 16:02:26 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc

          assert(id_attr &&
                 "tf.resource_arg_unique_id attribute should exist on either "
                 "none or all arguments.");
          auto emplace_res = attr_id_to_internal_id.try_emplace(
              id_attr.getInt(), next_unique_instance_id);
          AddValueUniqueIDMapping(arg, emplace_res.first->getSecond());
          // Only increment ID if it has been used.
          if (emplace_res.second) ++next_unique_instance_id;
        }
      } else {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc

                function.getArgAttrOfType<mlir::IntegerAttr>(
                    i, kResourceArgUniqueIdAttr)) {
          (*func_def.mutable_resource_arg_unique_id())[i] =
              resource_arg_unique_id_attr.getInt();
        }
      }
    
      return flib_def->AddFunctionDef(std::move(func_def));
    }
    
    Status Exporter::Convert(mlir::ModuleOp module,
                             const GraphExportConfig& configs,
    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. tensorflow/compiler/mlir/tf2xla/api/v1/compile_mlir_util.cc

      DCHECK(group_size_attr != nullptr)
          << "module attribute " << kGroupSizeAttrName
          << " is required for CollectiveInfo but not found.";
      int32_t group_key = group_key_attr.getInt();
      int32_t group_size = group_size_attr.getInt();
      VLOG(2) << "Populating CollectiveInfo: group_key=" << group_key
              << " group_size=" << group_size;
      compilation_result->collective_info = {group_key, group_size, 0};
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 17:24:39 UTC 2024
    - 45.3K bytes
    - Viewed (0)
  10. pkg/dns/proto/nds.pb.go

    // Deprecated: Use NameTable_NameInfo.ProtoReflect.Descriptor instead.
    func (*NameTable_NameInfo) Descriptor() ([]byte, []int) {
    	return file_dns_proto_nds_proto_rawDescGZIP(), []int{0, 0}
    }
    
    func (x *NameTable_NameInfo) GetIps() []string {
    	if x != nil {
    		return x.Ips
    	}
    	return nil
    }
    
    func (x *NameTable_NameInfo) GetRegistry() string {
    	if x != nil {
    		return x.Registry
    	}
    	return ""
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top