Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 153 for getUnit (0.29 sec)

  1. tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc

                                   "' required for output list '",
                                   output_arg.name(), "' isn't an integer");
          int64_t repeats = mlir::cast<IntegerAttr>(repeats_attr).getInt();
    
          if (!output_arg.type_attr().empty()) {
            // Same type repeated "repeats" times.
            Attribute attr = attrs_[output_arg.type_attr()];
            if (!attr)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 28.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_rewrite_pass.cc

      if (!num_cores_per_replica_attr)
        return cluster_func.emitOpError(
            CreateMissingAttributeMsg(tensorflow::kNumCoresPerReplicaAttr));
    
      int num_cores_per_replica = num_cores_per_replica_attr.getInt();
    
      auto topology_attr =
          cluster_func->getAttrOfType<StringAttr>(tensorflow::kTopologyAttr);
      if (!topology_attr)
        return cluster_func.emitOpError(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 29.7K bytes
    - Viewed (0)
  3. 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)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

    int32_t GetConv2DBlockSize(TF::Conv2DOp conv2d) {
      SmallVector<int32_t, 4> strides(4, 1);
      for (int i = 0; i < 3; ++i) {
        strides[i] = mlir::cast<mlir::IntegerAttr>(conv2d.getStrides()[i]).getInt();
      }
    
      // Space to depth only supports striding at spatial dimension.
      if (strides[0] != 1 || strides[3] != 1) return 1;
    
      // Space to depth only supports height_stride == width_stride case.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtAddress.java

         */
    
        private static final NameServiceClient CLIENT = new NameServiceClient();
    
        private static final int DEFAULT_CACHE_POLICY = 30;
        private static final int CACHE_POLICY = Config.getInt( "jcifs.smb1.netbios.cachePolicy", DEFAULT_CACHE_POLICY );
        private static final int FOREVER = -1;
        private static int nbnsIndex = 0;
    
        private static final HashMap ADDRESS_CACHE = new HashMap();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 30.1K bytes
    - Viewed (0)
  6. cmd/erasure-server-pool-rebalance.go

    		rcfg, err = getReplicationConfig(ctx, bucket)
    		if err != nil {
    			return err
    		}
    	}
    
    	pool := z.serverPools[poolIdx]
    
    	const envRebalanceWorkers = "_MINIO_REBALANCE_WORKERS"
    	workerSize, err := env.GetInt(envRebalanceWorkers, len(pool.sets))
    	if err != nil {
    		rebalanceLogIf(ctx, fmt.Errorf("invalid workers value err: %v, defaulting to %d", err, len(pool.sets)))
    		workerSize = len(pool.sets)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 03 15:45:54 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ProblemReportingCrossProjectModelAccess.kt

            }
    
            override fun relativeProjectPath(path: String): String {
                return delegate.relativeProjectPath(path)
            }
    
            override fun getAnt(): AntBuilder {
                onAccess("ant")
                return delegate.ant
            }
    
            override fun createAntBuilder(): AntBuilder {
                onAccess("antBuilder")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/flatbuffer_operator.cc

      std::vector<int32_t> intVec;
      intVec.reserve(attrArray.getValue().size());
      for (auto attr : attrArray.getValue()) {
        intVec.push_back(mlir::cast<mlir::IntegerAttr>(attr).getInt());
      }
      return builder->CreateVector(intVec);
    }
    
    static flatbuffers::Offset<flatbuffers::Vector<float>>
    ConvertF32ArrayAttrForOptionWriter(mlir::ArrayAttr attrArray,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 38K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.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: Wed May 01 11:17:36 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. 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)
Back to top