Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 326 for rewrite (0.39 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

            loc, GetI64ElementsAttr(new_broadcast_shape, &rewriter));
    
        auto new_broadcast_to_op = rewriter.create<TFL::BroadcastToOp>(
            loc, RankedTensorType::get(new_broadcast_shape, rewriter.getF32Type()),
            new_inner_reshape_op.getOutput(), new_broadcast_shape_value);
    
        // Create a new broadcast_op to replace the old broadcast_op.
        rewriter.replaceOp(tfl_broadcast_to_op, new_broadcast_to_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)
  2. src/cmd/go/internal/workcmd/edit.go

    The editing flags specify a sequence of editing operations.
    
    The -fmt flag reformats the go.work file without making other changes.
    This reformatting is also implied by any other modifications that use or
    rewrite the go.mod file. The only time this flag is needed is if no other
    flags are specified, as in 'go work edit -fmt'.
    
    The -godebug=key=value flag adds a godebug key=value line,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 13:52:10 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. pkg/kubelet/util/manager/watch_based_manager.go

    	go i.startReflector()
    }
    
    func (i *objectCacheItem) startReflector() {
    	i.waitGroup.Wait()
    	i.waitGroup.Add(1)
    	defer i.waitGroup.Done()
    	i.reflector.Run(i.stopCh)
    }
    
    // cacheStore is in order to rewrite Replace function to mark initialized flag
    type cacheStore struct {
    	cache.Store
    	lock        sync.Mutex
    	initialized bool
    }
    
    func (c *cacheStore) Replace(list []interface{}, resourceVersion string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass.cc

          g, slice, slice_inputs, cluster_name, &static_shaped_slice));
      ReplaceTensorFlowSliceWithStaticShapedSlice(g, slice, static_shaped_slice);
      return absl::OkStatus();
    }
    
    // Return true if `n` is a slice we should rewrite to have a static shape
    // (i.e. have the output shape only depend on the "size" input).
    absl::StatusOr<bool> ShouldRewriteSlice(Node* n) {
      if (n->type_string() != "Slice") {
        return false;
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 12 06:33:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. pkg/config/validation/validation_test.go

    			in: &networking.RegexRewrite{
    				Match:   "^/service/([^/]+)(/.*)$",
    				Rewrite: `\2/instance/\1`,
    			},
    			valid: true,
    		},
    		{
    			name: "uriRegexRewrite missing match",
    			in: &networking.RegexRewrite{
    				Rewrite: `\2/instance/\1`,
    			},
    			valid: false,
    		},
    		{
    			name: "uriRegexRewrite missing rewrite",
    			in: &networking.RegexRewrite{
    				Match: "^/service/([^/]+)(/.*)$",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 03:11:45 UTC 2024
    - 196K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/promote_resources_to_args.cc

      return success();
    }
    
    // Records the current live value for a resource variable and whether a read or
    // write on the variable occurred.
    struct ResourceInfo {
      Value live_value = nullptr;
      bool read = false;
      bool write = false;
    };
    
    LogicalResult PromoteResourcesToArguments(
        func::FuncOp function,
        llvm::ArrayRef<std::string> var_handle_shared_names) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  7. pkg/wasm/convert.go

    		status = marshalFailure
    		return nil, fmt.Errorf("failed to marshal new extension config resource: %w", err)
    	}
    
    	// At this point, we are certain that wasm module has been downloaded and config is rewritten.
    	// ECDS will be rewritten successfully.
    	return nec, nil
    }
    
    func convertNetworkWasmConfigFromRemoteToLocal(ec *core.TypedExtensionConfig, wasmNetworkFilterConfig *networkwasm.Wasm, cache Cache) (*anypb.Any, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_sequencing.cc

                    << "sequencing rewrite.";
          return;
        } else {
          (*backward_pass_ops.begin())->emitOpError()
              << "embedding backwards pass op with no forwards pass ops.";
          return signalPassFailure();
        }
      }
      LOG(INFO) << "Embedding sequencing rewrite enabled.";
    
      // Ensure that all ops are in the same region, and have the same replication
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  9. analysis/analysis-api-standalone/analysis-api-standalone-base/src/org/jetbrains/kotlin/analysis/api/standalone/base/project/structure/StandaloneProjectFactory.kt

                }
            }
        }
    
        private fun registerProjectServices(project: MockProject) {
            // TODO: rewrite KtResolveExtensionProviderForTest to avoid KtResolveExtensionProvider access before initialized project
            @Suppress("UnstableApiUsage")
            CoreApplicationEnvironment.registerExtensionPoint(
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 22:09:27 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/transforms/prepare_tf.cc

            rewriter.getIntegerAttr(attribute_type, revised_begin_mask),
            rewriter.getIntegerAttr(attribute_type, revised_end_mask),
            /*ellipsis_mask=*/rewriter.getI64IntegerAttr(0),
            rewriter.getIntegerAttr(attribute_type, revised_new_axis_mask),
            rewriter.getIntegerAttr(attribute_type, revised_shrink_axis_mask));
    
        return success();
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 64.6K bytes
    - Viewed (0)
Back to top