Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 95 for eraseOp (0.26 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tfg-to-tfe.cc

            op->getLoc(), source_op.getToken(), /*input=*/op->getOperand(0),
            /*controlInputs=*/new_operands);
        op->replaceAllUsesWith(
            ValueRange({source_op.getOutput(), source_op.getControl()}));
        op->erase();
      });
    }
    
    class ConvertGraphOp : public OpConversionPattern<tfg::GraphOp> {
     public:
      using OpConversionPattern::OpConversionPattern;
    
      LogicalResult matchAndRewrite(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/ssa/memcombine.go

    			if v == root {
    				v.Aux = cv.Type // widen store type
    				v.Pos = pos
    				v.SetArg(0, ptr)
    				v.SetArg(1, cv)
    				v.SetArg(2, mem)
    			} else {
    				clobber(v)
    				v.Type = types.Types[types.TBOOL] // erase memory type
    			}
    		}
    		return true
    	}
    
    	// Check for consecutive loads as the source of the stores.
    	var loadMem *Value
    	var loadBase BaseAddress
    	var loadIdx int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 19:45:41 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/quantization/stablehlo/passes/replace_stablehlo_ops_in_main_function_with_xla_call_module_ops.cc

      CreateXlaCallModuleOp(inputs, outputs, result_types, reverse_subgraph,
                            stablehlo_func_op, module_op);
    
      // 3) Erase the replaced ops.
      for (Operation* subgraph_op : reverse_subgraph) {
        subgraph_op->erase();
      }
    }
    
    // Contains the actual logic for updating states and replacing StableHLO ops
    // with tf.XlaCallModuleOps.
    void UpdateStatesAndReplaceStablehloOps(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/tpu_space_to_depth_pass.cc

        if (argnum_num_users[arg_num] != conv2d_and_block_sizes.size() ||
            conv2d_and_block_sizes.empty()) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        int64_t block_size = conv2d_and_block_sizes[0].second;
        if (block_size < 2) {
          argnum_and_convolutions.erase(arg_num);
          continue;
        }
        // Continue if not all the block sizes for space to depth transform are the
        // same.
    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. platforms/jvm/java-platform/src/integTest/groovy/org/gradle/integtests/resolve/platforms/JavaPlatformResolveIntegrationTest.groovy

            moduleA.moduleMetadata.expectGet()
            moduleA.artifact.expectGet()
    
            then:
            succeeds ":compileJava"
        }
    
        def 'constraint from platform does not erase excludes (platform: #platform)'() {
            given:
            platformModule("""
            constraints {
                api 'org:foo:1.0'
            }
    """)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc

        }
        op_state.addTypes(output_tys);
        op_state.addAttributes(attr);
        auto stablehlo_op = builder.create(op_state);
        custom_op.replaceAllUsesWith(stablehlo_op);
        custom_op.erase();
      });
    }
    
    std::unique_ptr<OperationPass<func::FuncOp>> CreateTflToStablehloPass() {
      return std::make_unique<TflToStablehloPass>();
    }
    
    static PassRegistration<TflToStablehloPass> pass;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 24 06:08:43 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/logging/src/main/java/org/gradle/internal/deprecation/DeprecationLogger.java

         * The compiler is happy with the casting that allows to hide the checked exception.
         * The runtime is happy with the casting because the checked exception type information is captured in a generic type parameter which gets erased.
         */
        private static <T, E extends Exception> Factory<T> toUncheckedThrowingFactory(final ThrowingFactory<T, E> throwingFactory) {
            return new Factory<T>() {
                @Nullable
                @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/transforms/prepare_quantize_helper.h

        op_property->inputs.erase(
            std::remove_if(
                op_property->inputs.begin(), op_property->inputs.end(),
                [&](std::pair<int, operator_property::TensorProperty> input) {
                  return cifg_non_inputs.find(input.first) != cifg_non_inputs.end();
                }),
            op_property->inputs.end());
        op_property->intermediates.erase(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 03 18:01:23 UTC 2024
    - 28K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize_drq.cc

    void PrepareQuantizeDRQPass::removeAllStatsOp(func::FuncOp func) {
      func.walk([&](quantfork::StatisticsOp stats_op) {
        stats_op.replaceAllUsesWith(stats_op.getArg());
        stats_op.erase();
      });
    }
    
    #include "tensorflow/compiler/mlir/quantization/tensorflow/passes/prepare_quantize.inc"
    
    void PrepareQuantizeDRQPass::runOnOperation() {
      MLIRContext* ctx = &getContext();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/term/terminal.go

    		t.line = t.line[:t.pos]
    		t.moveCursorToPos(t.pos)
    	case keyCtrlD:
    		// Erase the character under the current position.
    		// The EOF case when the line is empty is handled in
    		// readLine().
    		if t.pos < len(t.line) {
    			t.pos++
    			t.eraseNPreviousChars(1)
    		}
    	case keyCtrlU:
    		t.eraseNPreviousChars(t.pos)
    	case keyClearScreen:
    		// Erases the screen and moves the cursor to the home position.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 22 17:16:14 UTC 2022
    - 22.5K bytes
    - Viewed (0)
Back to top