Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for must_execute (0.17 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-diff-island.pbtxt

        signature {
          name: "test_fn"
          input_arg {
            name: "a"
            type: DT_FLOAT
          }
          output_arg {
            name: "d"
            type: DT_FLOAT
          }
          control_output: "must_execute"
        }
        node_def {
          name: "b"
          op: "Neg"
          input: "a"
          attr {
            key: "T"
            value {
              type: DT_FLOAT
            }
          }
        }
        node_def {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/graph-function-control-ret-same-island.pbtxt

            type: DT_FLOAT
          }
          control_output: "must_execute"
        }
        node_def {
          name: "b"
          op: "Neg"
          input: "a"
          attr {
            key: "T"
            value {
              type: DT_FLOAT
            }
          }
        }
        ret {
          key: "c"
          value: "b:y:0"
        }
        control_ret {
          key: "must_execute"
          value: "b"
        }
      }
    }
    versions {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 10 19:53:21 UTC 2020
    - 1.8K bytes
    - Viewed (0)
  3. src/html/template/template_test.go

    	c.mustExecute(c.root, 0, "")
    	c.mustNotParse(c.root, `{{define "X"}}bar{{end}}`)
    	c.mustExecute(c.root, 1, "<foo>")
    }
    
    func TestRedefineAfterNamedExecution(t *testing.T) {
    	c := newTestCase(t)
    	c.mustParse(c.root, `<{{template "X" .}}>{{define "X"}}foo{{end}}`)
    	c.mustExecute(c.root, nil, "&lt;foo>")
    	c.mustNotParse(c.root, `{{define "X"}}bar{{end}}`)
    	c.mustExecute(c.root, nil, "&lt;foo>")
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 06 15:48:16 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_side_effects.h

    };
    
    struct TPUExecute : public ::mlir::SideEffects::Resource::Base<TPUExecute> {
      StringRef getName() final { return "TPUExecute"; }
    };
    
    struct MustExecute : public ::mlir::SideEffects::Resource::Base<MustExecute> {
      StringRef getName() final { return "MustExecute"; }
    };
    
    struct CollectiveReduceOrdering
        : public ::mlir::SideEffects::Resource::Base<CollectiveReduceOrdering> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 26 18:45:40 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/graph_pruning.cc

      getOperation().walk(
          [this](tf_executor::GraphOp graph) { PruneGraph(graph); });
    }
    
    // An op should be preserved if either its identifier is contained in
    // `ops_to_preserve_ids_` or if it has a `MustExecute` effect.
    bool GraphPruningPass::ShouldPreserveOp(Operation* op) {
      if (ops_to_preserve_ids_.contains(op->getName().getIdentifier())) return true;
    
      llvm::SmallVector<MemoryEffects::EffectInstance, 4> effects;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 05 23:50:19 UTC 2022
    - 7.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    def TF_GlobalIterIdResource : TF_ResourceBase<"GlobalIterId">;
    def TF__XlaRunResource : TF_ResourceBase<"_XlaRun">;
    // Fake resource, see `TF_MustExecute` below.
    def TF_MustExecuteResource : TF_ResourceBase<"MustExecute">;
    
    // Value-based side effects
    //
    // Value-based side effect traits are attached to op operands or results to
    // signal what type of resource is accessed and in which way.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc

            // alias analysis at a different place, skip here.
            if (ShouldUseResourceAliasAnalysis(effect)) continue;
            if (llvm::isa<ResourceEffects::MustExecute>(effect.getResource()))
              // We have this fake resource to avoid that certain ops are considered
              // dead or get pruned, ignore it for side effect analysis.
              continue;
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 09:04:13 UTC 2024
    - 41.2K bytes
    - Viewed (0)
Back to top